mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-26627 Fix after review
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ class LinuxDistributionBuilder extends OsSpecificDistributionBuilder {
|
||||
buildContext.messages.block("Build Linux .snap package") {
|
||||
buildContext.messages.progress("Preparing files")
|
||||
|
||||
def desktopTemplate = "${buildContext.paths.communityHome}/platform/build-scripts/resources/linux/snap/entry.desktop"
|
||||
def desktopTemplate = "${buildContext.paths.communityHome}/platform/platform-resources/src/entry.desktop"
|
||||
def productName = buildContext.applicationInfo.productNameWithEdition
|
||||
buildContext.ant.copy(file: desktopTemplate, tofile: "${snapDir}/snap/gui/${customizer.snapName}.desktop") {
|
||||
filterset(begintoken: '$', endtoken: '$') {
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=$NAME$
|
||||
Icon=$ICON$
|
||||
Exec=$SCRIPT$ %f
|
||||
Comment=The Drive to Develop
|
||||
Categories=Development;IDE;
|
||||
Terminal=false
|
||||
StartupWMClass=$WM_CLASS$
|
||||
@@ -154,7 +154,7 @@ public class CreateDesktopEntryAction extends DumbAwareAction {
|
||||
throw new RuntimeException(ApplicationBundle.message("desktop.entry.icon.missing", binPath));
|
||||
}
|
||||
|
||||
String execPath = ourScript.getValue();
|
||||
String execPath = String.format("\"%s\"", ourScript.getValue());
|
||||
if (execPath == null) {
|
||||
throw new RuntimeException(ApplicationBundle.message("desktop.entry.script.missing", binPath));
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ Version=1.0
|
||||
Type=Application
|
||||
Name=$NAME$
|
||||
Icon=$ICON$
|
||||
Exec="$SCRIPT$" %f
|
||||
Exec=$SCRIPT$ %f
|
||||
Comment=The Drive to Develop
|
||||
Categories=Development;IDE;
|
||||
Terminal=false
|
||||
|
||||
Reference in New Issue
Block a user