fix file picker crash on linux by adding jdk.security.auth module

This commit is contained in:
AmirHossein Abdolmotallebi 2024-09-10 04:22:28 +03:30
parent f8959731cf
commit 377d125bf9

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"