Skip to content

Commit

Permalink
Updates Linux packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Jul 12, 2015
1 parent 0a1b8ad commit 8e90c49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 272 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ distributions {
ospackage {
packageName = project.name
description = 'A Java Decompiler'
release = '0'
os = LINUX
url = 'https://github.com/java-decompiler/jd-gui'
license = file('LICENSE')
Expand All @@ -171,7 +172,7 @@ ospackage {
}
from 'LICENSE', 'NOTICE', 'README.md'

postInstall 'cd /opt/'+ project.name+'; ln -s ./jd-gui-'+project.version+'.jar ./jd-gui.jar; xdg-icon-resource install --size 128 --novendor ./jd_icon_128.png jd-gui ; xdg-desktop-menu install ./*.desktop'
postInstall 'cd /opt/'+ project.name+'; ln -s ./jd-gui-'+project.version+'.jar ./jd-gui.jar; xdg-icon-resource install --size 128 --novendor ./jd_icon_128.png jd-gui ; xdg-desktop-menu install ./*.desktop'
preUninstall 'cd /opt/'+ project.name+'; rm -f ./jd-gui.jar; xdg-desktop-menu uninstall ./*.desktop'
}

Expand Down
2 changes: 1 addition & 1 deletion src/linux/resources/jd-gui.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Comment= Java Decompiler JD-GUI
Comment=Java Decompiler JD-GUI
Terminal=false
Name=JD-GUI
Exec=java -jar /opt/jd-gui/jd-gui.jar
Expand Down
270 changes: 0 additions & 270 deletions src/linux/resources/jd-gui.svg

This file was deleted.

0 comments on commit 8e90c49

Please sign in to comment.