add addiitonal launcher to debug javafx problems

This commit is contained in:
Armin Schrenk 2023-02-03 13:17:06 +01:00
parent 69d73d0fb9
commit cf9663fc26
No known key found for this signature in database
GPG Key ID: 8F2992163CBBA7FC
3 changed files with 21 additions and 0 deletions

View File

@ -166,6 +166,7 @@ jobs:
--resource-dir dist/win/resources
--license-file dist/win/resources/license.rtf
--file-associations dist/win/resources/FAvaultFile.properties
--add-launcher jfxDebug=dist/wind/resources/jfxDebug.properties
env:
JP_WIXWIZARD_RESOURCES: ${{ github.workspace }}/dist/win/resources # requires abs path, used in resources/main.wxs
- name: Codesign MSI

1
dist/win/build.ps1 vendored
View File

@ -93,6 +93,7 @@ if ($clean -and (Test-Path -Path $appPath)) {
--java-options "-Dcryptomator.integrationsWin.keychainPaths=`"~/AppData/Roaming/$AppName/keychain.json`"" `
--java-options "-Dcryptomator.showTrayIcon=true" `
--java-options "-Dcryptomator.buildNumber=`"msi-$revisionNo`"" `
--add-launcher jfxDebug=$buildDir\resources\jfxDebug.properties `
--resource-dir resources `
--icon resources/$AppName.ico

19
dist/win/resources/jfxDebug.properties vendored Normal file
View File

@ -0,0 +1,19 @@
win-console=true
java-options=--enable-preview \
--enable-native-access=org.cryptomator.jfuse.win \
-Xss5m \
-Xmx256m \
-Dcryptomator.appVersion="$semVerNo" \
-Dfile.encoding="utf-8" \
-Dcryptomator.logDir="~/AppData/Roaming/$AppName" \
-Dcryptomator.pluginDir="~/AppData/Roaming/$AppName/Plugins" \
-Dcryptomator.settingsPath="~/AppData/Roaming/$AppName/settings.json" \
-Dcryptomator.ipcSocketPath="~/AppData/Roaming/$AppName/ipc.socket" \
-Dcryptomator.p12Path="~/AppData/Roaming/$AppName/key.p12" \
-Dcryptomator.mountPointsDir="~/$AppName" \
-Dcryptomator.loopbackAlias="$LoopbackAlias" \
-Dcryptomator.integrationsWin.autoStartShellLinkName="$AppName" \
-Dcryptomator.integrationsWin.keychainPaths="~/AppData/Roaming/$AppName/keychain.json" \
-Dcryptomator.showTrayIcon=true \
-Dcryptomator.buildNumber="msi-$revisionNo" \
-Djavafx.verbose=true