Skip to content

Commit e430688

Browse files
committed
Update GenerateDeb.java
1 parent fe19a1e commit e430688

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/io/github/fvarrui/javapackager/gradle/GenerateDeb.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ public File apply(Packager packager) throws Exception {
9191
// }
9292

9393
// desktop file
94-
debTask.from(desktopFile.getParentFile(), c -> {
94+
debTask.from(desktopFile, c -> {
9595
c.into("/usr/share/applications");
96-
c.include(desktopFile.getName());
9796
});
9897

9998
// symbolic link in /usr/local/bin to app binary

0 commit comments

Comments
 (0)