Refactor filebot.desktop

This commit is contained in:
Reinhard Pointner 2017-02-11 21:42:09 +08:00
parent e75ea50fbc
commit 1dab29155b
5 changed files with 6 additions and 5 deletions

View File

@ -570,14 +570,15 @@
</copy-replace> </copy-replace>
<copy todir="${dir.staging}"> <copy todir="${dir.staging}">
<fileset dir="${dir.lib}/native/linux-${arch}" /> <fileset dir="${dir.lib}/native/linux-${arch}" />
<fileset file="${dir.installer}/icons/icon.svg" /> <fileset file="${dir.installer}/icons/${package.name}.svg" />
</copy> </copy>
<copy file="${path.fatjar}" tofile="${dir.staging}/FileBot.jar" /> <copy file="${path.fatjar}" tofile="${dir.staging}/FileBot.jar" />
<jdeb destfile="${dir.dist}/${package.name}_${version}_${deb.arch}.deb" control="${dir.staging}/control" compression="xz" verbose="true"> <jdeb destfile="${dir.dist}/${package.name}_${version}_${deb.arch}.deb" control="${dir.staging}/control" compression="xz" verbose="true">
<tarfileset prefix="/usr/share/filebot" dir="${dir.staging}" includes="*.sh, fpcalc" filemode="755" /> <tarfileset prefix="/usr/share/${package.name}" dir="${dir.staging}" includes="*.sh, fpcalc" filemode="755" />
<tarfileset prefix="/usr/share/filebot" dir="${dir.staging}" includes="*.jar, *.so, *.svg" /> <tarfileset prefix="/usr/share/${package.name}" dir="${dir.staging}" includes="*.jar, *.so" />
<tarfileset prefix="/usr/share/applications" dir="${dir.staging}" includes="*.desktop" /> <tarfileset prefix="/usr/share/applications" dir="${dir.staging}" includes="*.desktop" />
<tarfileset prefix="/usr/share/icons/hicolor/scalable/apps" dir="${dir.staging}" includes="*.svg" />
</jdeb> </jdeb>
</target> </target>

View File

@ -2,8 +2,8 @@
Name=@{application.name} Name=@{application.name}
Comment=@{package.synopsis} Comment=@{package.synopsis}
Type=Application Type=Application
Exec=/usr/share/filebot/filebot.sh Exec=@{package.name}
Icon=/usr/share/filebot/icon.svg Icon=@{package.name}
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true
Categories=@{gnome.application.categories} Categories=@{gnome.application.categories}

View File

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB