* enable log-to-file by default for App Bundle

This commit is contained in:
Reinhard Pointner 2015-01-02 08:49:59 +00:00
parent 32fab805bb
commit 877c03f0fb
2 changed files with 8 additions and 1 deletions

View File

@ -292,6 +292,11 @@
<option value="-Djava.library.path=$APP_ROOT/Contents/MacOS" />
<option value="-Dnet.filebot.AcoustID.fpcalc=$APP_ROOT/Contents/MacOS/fpcalc" />
<option value="--log-file" />
<option value="filebot.log" />
<option value="--log-lock" />
<option value="false" />
<option value="-Xdock:name=${title}" />
<option value="-Xdock:icon=Contents/Resources/filebot.icns" />
<option value="-Dapple.laf.useScreenMenuBar=true" />
@ -414,7 +419,7 @@
<!-- debuild -S -->
<exec dir="${dir.debsrc}" executable="debuild" />
<!-- tar cvzf filebot-4.5.2-debsrc.tar.gz *.dsc *.changes *.tar.gz -->
<tar destfile="${path.debsrc}" compression="gzip">
<tarfileset dir="${dir.debsrc}/.." includes="*.dsc, *.changes, *.tar.gz" />

View File

@ -238,6 +238,8 @@ public class UserFiles {
} finally {
persistence.putBoolean(KEY_NSOPENPANEL_BROKEN, false); // NSOpenPanel did not freeze application
}
} else {
Logger.getLogger(UserFiles.class.getName()).log(Level.WARNING, "NSOpenPanel broken. Using AWT implementation instead.");
}
}