mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 16:58:51 -05:00
* make sure headless deployment works
This commit is contained in:
parent
568c2ccf5a
commit
c6bfd7755f
@ -181,7 +181,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="deb-arch">
|
<target name="deb-arch">
|
||||||
<deb todir="${dir.dist}" package="filebot" version="${version}" architecture="${arch}" section="misc" depends="openjdk-6-jre" homepage="http://filebot.sourceforge.net" priority="optional">
|
<deb todir="${dir.dist}" package="filebot" version="${version}" architecture="${arch}" section="misc" depends="default-jre-headless" recommends="default-jre" homepage="http://filebot.sourceforge.net" priority="optional">
|
||||||
<maintainer name="rednoah" email="rednoah@users.sourceforge.net" />
|
<maintainer name="rednoah" email="rednoah@users.sourceforge.net" />
|
||||||
<description synopsis="The ultimate tv renamer / subtitle downloader / sfv validator">FileBot is the ultimate tool for renaming your tv shows and anime, downloading subtitles from various sources or just simple file verification.</description>
|
<description synopsis="The ultimate tv renamer / subtitle downloader / sfv validator">FileBot is the ultimate tool for renaming your tv shows and anime, downloading subtitles from various sources or just simple file verification.</description>
|
||||||
<tarfileset fullpath="usr/share/filebot/FileBot.jar" file="${path.fatjar}" />
|
<tarfileset fullpath="usr/share/filebot/FileBot.jar" file="${path.fatjar}" />
|
||||||
|
@ -120,7 +120,7 @@ public class Analytics {
|
|||||||
GraphicsDevice[] display = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
|
GraphicsDevice[] display = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices();
|
||||||
config.setScreenResolution(getScreenResolution(display));
|
config.setScreenResolution(getScreenResolution(display));
|
||||||
config.setColorDepth(getColorDepth(display));
|
config.setColorDepth(getColorDepth(display));
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
Logger.getLogger(Analytics.class.getName()).finest("Headless: " + e.getMessage());
|
Logger.getLogger(Analytics.class.getName()).finest("Headless: " + e.getMessage());
|
||||||
config.setScreenResolution("80x25");
|
config.setScreenResolution("80x25");
|
||||||
config.setColorDepth("1");
|
config.setColorDepth("1");
|
||||||
|
Loading…
Reference in New Issue
Block a user