Prepare new portable release for Linux

This commit is contained in:
Reinhard Pointner 2018-03-08 09:27:21 +07:00
parent 064ca561a2
commit 636d430b50
5 changed files with 0 additions and 71 deletions

View File

@ -679,7 +679,6 @@
<target name="portable" description="Build portable package" depends="revision">
<tar destfile="${dir.dist}/${release}-portable.tar.xz" compression="xz" longfile="posix" encoding="utf-8">
<tarfileset file="${path.fatjar}" fullpath="FileBot.jar" />
<tarfileset dir="${dir.installer}/portable" includes="*.exe, *.ini, *.cmd" />
<tarfileset dir="${dir.installer}/portable" includes="*.sh" filemode="755" />
<!-- include native libraries for all supported platforms -->

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<launch4jConfig>
<dontWrapJar>true</dontWrapJar>
<headerType>gui</headerType>
<jar>FileBot.jar</jar>
<outfile>filebot.portable.launcher.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
<chdir></chdir>
<priority>normal</priority>
<downloadUrl></downloadUrl>
<supportUrl></supportUrl>
<stayAlive>false</stayAlive>
<restartOnCrash>false</restartOnCrash>
<manifest></manifest>
<icon>..\icons\shortcut.ico</icon>
<jre>
<path></path>
<bundledJre64Bit>false</bundledJre64Bit>
<bundledJreAsFallback>false</bundledJreAsFallback>
<minVersion>1.8.0</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
<runtimeBits>64/32</runtimeBits>
</jre>
</launch4jConfig>

View File

@ -1,2 +0,0 @@
@ECHO OFF
java -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dapplication.deployment=portable -Djna.nosys=true -Djna.nounpack=true -Dapplication.dir="%~dp0data" -Duser.home="%~dp0data" -Djava.io.tmpdir="%~dp0data\tmp" -Djna.library.path="%~dp0." -Djna.boot.library.path="%~dp0." -Djava.library.path="%~dp0." -Dnet.filebot.AcoustID.fpcalc="%~dp0fpcalc.exe" -Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory -Dnet.filebot.util.prefs.file="%~dp0data\prefs.properties" %JAVA_OPTS% -jar "%~dp0FileBot.jar" %*

View File

@ -1,42 +0,0 @@
# FileBot launch4j runtime config
-Dapplication.dir="%EXEDIR%\data"
-Dapplication.deployment=portable
-Duser.home="%EXEDIR%\data"
-Djava.io.tmpdir="%EXEDIR%\data\tmp"
# network settings
-Djava.net.useSystemProxies=false
# use Windows Shell for move/copy operations
-DuseNativeShell=false
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=true
-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
# disable HW acceleration
-Dsun.java2d.d3d=false
-Dprism.order=sw
# store preferences in properties file
-Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory
-Dnet.filebot.util.prefs.file="%EXEDIR%\data\prefs.properties"
# support JAVA_OPTS environment variable
%JAVA_OPTS%
# support FILEBOT_OPTS environment variable
%FILEBOT_OPTS%