* set -DuseCreationDate explicitly depending on each platforms capabilities
This commit is contained in:
parent
2bcb994efa
commit
b55c0e3fbf
|
@ -221,6 +221,7 @@
|
||||||
<javaproperty name="application.deployment" value="app" />
|
<javaproperty name="application.deployment" value="app" />
|
||||||
<javaproperty name="unixfs" value="false" />
|
<javaproperty name="unixfs" value="false" />
|
||||||
<javaproperty name="useExtendedFileAttributes" value="true" />
|
<javaproperty name="useExtendedFileAttributes" value="true" />
|
||||||
|
<javaproperty name="useCreationDate" value="false" />
|
||||||
<javaproperty name="net.sourceforge.filebot.AcoustID.fpcalc" value="$JAVAROOT/fpcalc" />
|
<javaproperty name="net.sourceforge.filebot.AcoustID.fpcalc" value="$JAVAROOT/fpcalc" />
|
||||||
<javaproperty name="jna.library.path" value="$JAVAROOT" />
|
<javaproperty name="jna.library.path" value="$JAVAROOT" />
|
||||||
<javaproperty name="java.library.path" value="$JAVAROOT" />
|
<javaproperty name="java.library.path" value="$JAVAROOT" />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=FileBot
|
Name=FileBot
|
||||||
Comment=Rename Movies and TV Shows
|
Comment=Rename Movies or TV Shows and download Subtitles
|
||||||
Type=Application
|
Type=Application
|
||||||
Exec=/usr/share/filebot/bin/filebot.sh
|
Exec=/usr/share/filebot/bin/filebot.sh
|
||||||
Icon=/usr/share/filebot/icon.svg
|
Icon=/usr/share/filebot/icon.svg
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=false -Djava.net.useSystemProxies=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=deb -Dapplication.analytics=true -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/usr/share/filebot -Djava.library.path=/usr/share/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=/usr/share/filebot/fpcalc -jar /usr/share/filebot/FileBot.jar "$@"
|
java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=false -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=deb -Dapplication.analytics=true -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/usr/share/filebot -Djava.library.path=/usr/share/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=/usr/share/filebot/fpcalc -jar /usr/share/filebot/FileBot.jar "$@"
|
|
@ -1,2 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# create /bin symlink
|
||||||
ln -s /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
|
ln -s /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
|
||||||
|
|
||||||
|
# delete caches and logs
|
||||||
|
filebot -clear-cache
|
||||||
|
|
|
@ -1,2 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# delete caches and logs
|
||||||
|
filebot -clear-cache
|
||||||
|
|
||||||
|
# remove /bin symlink
|
||||||
rm /usr/bin/filebot
|
rm /usr/bin/filebot
|
||||||
|
|
|
@ -1,2 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# create /bin symlink
|
||||||
ln -s /opt/usr/share/filebot/bin/filebot.sh /opt/usr/bin/filebot
|
ln -s /opt/usr/share/filebot/bin/filebot.sh /opt/usr/bin/filebot
|
||||||
|
|
||||||
|
# delete caches and logs
|
||||||
|
filebot -clear-cache
|
||||||
|
|
|
@ -1,2 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# delete caches and logs
|
||||||
|
filebot -clear-cache
|
||||||
|
|
||||||
|
# remove /bin symlink
|
||||||
rm /opt/usr/bin/filebot
|
rm /opt/usr/bin/filebot
|
||||||
|
|
|
@ -6,4 +6,4 @@ dir_bin="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||||
# force JVM language and encoding settings
|
# force JVM language and encoding settings
|
||||||
export LANG=en_US.utf8
|
export LANG=en_US.utf8
|
||||||
|
|
||||||
java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=false -Dfile.encoding=UTF-8 -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=portable -Dapplication.analytics=true -Dapplication.warmup=false -Dnet.sourceforge.filebot.AcoustID.fpcalc=fpcalc "-Dapplication.dir=$dir_bin" "-Djava.io.tmpdir=$dir_bin/temp" "-Duser.home=$dir_bin" "-Djna.library.path=$dir_bin" "-Djava.library.path=$dir_bin" -Djava.util.prefs.PreferencesFactory=net.sourceforge.tuned.prefs.FilePreferencesFactory "-Dnet.sourceforge.tuned.prefs.file=$dir_bin/prefs.properties" -jar "$dir_bin/FileBot.jar" "$@"
|
java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=false -DuseCreationDate=false -Dfile.encoding=UTF-8 -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.deployment=portable -Dapplication.analytics=true -Dapplication.warmup=false -Dnet.sourceforge.filebot.AcoustID.fpcalc=fpcalc "-Dapplication.dir=$dir_bin" "-Djava.io.tmpdir=$dir_bin/temp" "-Duser.home=$dir_bin" "-Djna.library.path=$dir_bin" "-Djava.library.path=$dir_bin" -Djava.util.prefs.PreferencesFactory=net.sourceforge.tuned.prefs.FilePreferencesFactory "-Dnet.sourceforge.tuned.prefs.file=$dir_bin/prefs.properties" -jar "$dir_bin/FileBot.jar" "$@"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=FileBot
|
Name=FileBot
|
||||||
Comment=Rename Movies and TV Shows
|
Comment=Rename Movies or TV Shows and download Subtitles
|
||||||
Type=Application
|
Type=Application
|
||||||
Exec=/opt/filebot/bin/filebot.sh
|
Exec=/opt/filebot/bin/filebot.sh
|
||||||
Icon=filebot
|
Icon=filebot
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
java -Dunixfs=false -DuseGVFS=true -DuseExtendedFileAttributes=true -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.update=skip -Dapplication.deployment=ppa -Dapplication.analytics=false -Dapplication.warmup=true -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/opt/filebot -Djava.library.path=/opt/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=fpcalc -jar /opt/filebot/FileBot.jar "$@"
|
java -Dunixfs=false -DuseGVFS=true -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Djna.nosys=true -Dapplication.update=skip -Dapplication.deployment=ppa -Dapplication.analytics=false -Dapplication.warmup=true -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/opt/filebot -Djava.library.path=/opt/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=fpcalc -jar /opt/filebot/FileBot.jar "$@"
|
|
@ -27,7 +27,8 @@
|
||||||
<property name="application.warmup" value="false" />
|
<property name="application.warmup" value="false" />
|
||||||
<property name="unixfs" value="false" />
|
<property name="unixfs" value="false" />
|
||||||
<property name="useNativeShell" value="false" />
|
<property name="useNativeShell" value="false" />
|
||||||
<property name="useExtendedFileAttributes" value="true" />
|
<property name="useExtendedFileAttributes" value="true" />
|
||||||
|
<property name="useCreationDate" value="false" />
|
||||||
<property name="java.net.useSystemProxies" value="true" />
|
<property name="java.net.useSystemProxies" value="true" />
|
||||||
<property name="sun.net.client.defaultConnectTimeout" value="10000" />
|
<property name="sun.net.client.defaultConnectTimeout" value="10000" />
|
||||||
<property name="sun.net.client.defaultReadTimeout" value="60000" />
|
<property name="sun.net.client.defaultReadTimeout" value="60000" />
|
||||||
|
|
Loading…
Reference in New Issue