Skip to content

Commit 8e90c49

Browse files
committed
Updates Linux packaging
1 parent 0a1b8ad commit 8e90c49

File tree

3 files changed

+3
-272
lines changed

3 files changed

+3
-272
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ distributions {
158158
ospackage {
159159
packageName = project.name
160160
description = 'A Java Decompiler'
161+
release = '0'
161162
os = LINUX
162163
url = 'https://github.com/java-decompiler/jd-gui'
163164
license = file('LICENSE')
@@ -171,7 +172,7 @@ ospackage {
171172
}
172173
from 'LICENSE', 'NOTICE', 'README.md'
173174

174-
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'
175+
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'
175176
preUninstall 'cd /opt/'+ project.name+'; rm -f ./jd-gui.jar; xdg-desktop-menu uninstall ./*.desktop'
176177
}
177178

src/linux/resources/jd-gui.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Desktop Entry]
2-
Comment= Java Decompiler JD-GUI
2+
Comment=Java Decompiler JD-GUI
33
Terminal=false
44
Name=JD-GUI
55
Exec=java -jar /opt/jd-gui/jd-gui.jar

src/linux/resources/jd-gui.svg

Lines changed: 0 additions & 270 deletions
This file was deleted.

0 commit comments

Comments
 (0)