47 lines
1.4 KiB
Diff
47 lines
1.4 KiB
Diff
diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh
|
|
index 5fe68cb4f3e..2f7eba7b9a3 100755
|
|
--- a/resources/linux/bin/code.sh
|
|
+++ b/resources/linux/bin/code.sh
|
|
@@ -53,7 +53,7 @@ else
|
|
VSCODE_PATH="$(dirname "$(readlink -f "$0")")/.."
|
|
else
|
|
# else use the standard install location
|
|
- VSCODE_PATH="/usr/share/@@APPNAME@@"
|
|
+ VSCODE_PATH="/usr/lib/@@APPNAME@@"
|
|
fi
|
|
fi
|
|
|
|
diff --git a/resources/linux/code-url-handler.desktop b/resources/linux/code-url-handler.desktop
|
|
index 7106e0e0969..faaff89d71c 100644
|
|
--- a/resources/linux/code-url-handler.desktop
|
|
+++ b/resources/linux/code-url-handler.desktop
|
|
@@ -2,7 +2,7 @@
|
|
Name=@@NAME_LONG@@ - URL Handler
|
|
Comment=Code Editing. Redefined.
|
|
GenericName=Text Editor
|
|
-Exec=@@EXEC@@ --open-url %U
|
|
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --open-url %U
|
|
Icon=@@ICON@@
|
|
Type=Application
|
|
NoDisplay=true
|
|
diff --git a/resources/linux/code.desktop b/resources/linux/code.desktop
|
|
index 72488b67700..c16e815d59f 100755
|
|
--- a/resources/linux/code.desktop
|
|
+++ b/resources/linux/code.desktop
|
|
@@ -2,7 +2,7 @@
|
|
Name=@@NAME_LONG@@
|
|
Comment=Code Editing. Redefined.
|
|
GenericName=Text Editor
|
|
-Exec=@@EXEC@@ --unity-launch %F
|
|
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --unity-launch %F
|
|
Icon=@@ICON@@
|
|
Type=Application
|
|
StartupNotify=false
|
|
@@ -14,5 +14,5 @@ Keywords=vscode;
|
|
|
|
[Desktop Action new-empty-window]
|
|
Name=New Empty Window
|
|
-Exec=@@EXEC@@ --new-window %F
|
|
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --new-window %F
|
|
Icon=@@ICON@@
|