Merge pull request #67 from amir1376/fix/file-picker-crash-on-linux

Fix file picker crash on linux
This commit is contained in:
AmirHossein Abdolmotallebi 2024-09-10 04:34:07 +03:30 committed by GitHub
commit 4c644a4853
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,6 +103,10 @@ compose {
nativeDistributions {
modules("java.instrument", "jdk.unsupported")
targetFormats(TargetFormat.Msi, TargetFormat.Deb)
if (Platform.getCurrentPlatform() == Platform.Desktop.Linux) {
// filekit library requires this module in linux.
modules("jdk.security.auth")
}
packageVersion = getAppVersionStringForPackaging()
packageName = getAppName()
vendor = "abdownloadmanager.com"