mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +00:00
Dist fixes
This commit is contained in:
parent
4d9e47b821
commit
73524d471f
2 changed files with 9 additions and 2 deletions
|
@ -126,9 +126,11 @@ project.ext {
|
|||
// Disable this for now as it requires Windows 10+
|
||||
// '-XX:+UseZGC',
|
||||
"-Dvisualvm.display.name=XPipe",
|
||||
"-Dapple.awt.application.appearance=system",
|
||||
"-Djavafx.preloader=io.xpipe.app.core.AppPreloader"
|
||||
]
|
||||
if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
|
||||
jvmRunArgs += ["-Dapple.awt.application.appearance=system"]
|
||||
}
|
||||
useBundledJavaFx = fullVersion
|
||||
useBundledJna = fullVersion
|
||||
announce = System.getenv('SKIP_ANNOUNCEMENT') == null || !Boolean.parseBoolean(System.getenv('SKIP_ANNOUNCEMENT'))
|
||||
|
|
7
dist/jpackage.gradle
vendored
7
dist/jpackage.gradle
vendored
|
@ -53,9 +53,14 @@ jlink {
|
|||
// '--strip-debug',
|
||||
'--no-header-files',
|
||||
'--no-man-pages',
|
||||
// '--strip-native-commands'
|
||||
'--include-locales', "${String.join(",", languages)}",
|
||||
'--compress', 'zip-9'
|
||||
]
|
||||
|
||||
if (org.gradle.internal.os.OperatingSystem.current().isLinux()) {
|
||||
options += ['--strip-native-debug-symbols']
|
||||
}
|
||||
|
||||
if (useBundledJavaFx) {
|
||||
addExtraModulePath(layout.projectDirectory.dir("javafx/${platformName}/${arch}").toString())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue