mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-21 10:06:55 -04:00
Merge pull request #2189 from cryptomator/feature/on-the-fly-license
Generate app license on release/ installer build and remove commited third party file
This commit is contained in:
@@ -29,10 +29,10 @@ public class AboutController implements FxController {
|
||||
}
|
||||
|
||||
private static String loadThirdPartyLicenseFile() {
|
||||
try (InputStream in = AboutController.class.getResourceAsStream("/license/THIRD-PARTY.txt")) {
|
||||
try (InputStream in = AboutController.class.getResourceAsStream("/THIRD-PARTY.txt")) {
|
||||
return CharStreams.toString(new InputStreamReader(in));
|
||||
} catch (IOException | NullPointerException e) {
|
||||
LOG.error("Failed to load /license/THIRD-PARTY.txt", e);
|
||||
LOG.error("Failed to load /THIRD-PARTY.txt", e);
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user