Include fail-safe launcher in appx package

This commit is contained in:
rednoah 2017-04-21 04:00:58 +00:00
parent 08a16a6a62
commit 7fab97bcdc
3 changed files with 88 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<launch4jConfig>
<dontWrapJar>true</dontWrapJar>
<headerType>gui</headerType>
<jar></jar>
<outfile>filebot.launcher.platform.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
<chdir></chdir>
<priority>normal</priority>
<downloadUrl></downloadUrl>
<supportUrl></supportUrl>
<stayAlive>true</stayAlive>
<restartOnCrash>false</restartOnCrash>
<manifest></manifest>
<icon>..\icons\shortcut.ico</icon>
<classPath>
<mainClass>net.filebot.Main</mainClass>
<cp>%EXEDIR%\lib\*.jar</cp>
</classPath>
<jre>
<path>jre</path>
<bundledJre64Bit>true</bundledJre64Bit>
<bundledJreAsFallback>false</bundledJreAsFallback>
<minVersion></minVersion>
<maxVersion></maxVersion>
<jdkPreference>jreOnly</jdkPreference>
<runtimeBits>64</runtimeBits>
</jre>
</launch4jConfig>

View File

@ -0,0 +1,58 @@
# FileBot launch4j runtime config
-Dapplication.dir="%APPDATA%\FileBot"
-Dapplication.deployment=appx
-Dapplication.update=skip
# put all temporary files here
-Djava.io.tmpdir="%APPDATA%\FileBot\tmp"
# FileBot system properties
-DthreadPool=32
# network settings
-Djava.net.useSystemProxies=true
# do not use native shell for move/copy operations
-DuseNativeShell=false
# do not use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=false
-DuseCreationDate=false
# look for executables in the application folder
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# look for native libraries in the application folder
-Djna.library.path="%EXEDIR%"
-Djna.boot.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# make sure to use the bundled JNA library
-Djna.nosys=true
-Djna.nounpack=true
# reduce default logging
-Djava.util.logging.config.file="%EXEDIR%\logging.properties"
# force Application User Model ID for Windows Store
-Dnet.filebot.AppUserModelID=@{microsoft.application.name}
# use Java implementation for extracting archives
-Dnet.filebot.Archive.extractor="ApacheVFS"
# force english locale
-Dfile.encoding=UTF-8
-Duser.country=US
-Duser.country.format=US
-Duser.language=en
-Duser.language.format=en
# disable hardware acceleration
-Dsun.java2d.d3d=false
-Dprism.order=sw
# force platform L&F
-Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel
# support FILEBOT_OPTS environment variable
%FILEBOT_OPTS%