2023-12-13 13:56:05 -05:00

47 lines
1.5 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 e2e3f534751..8e3ee8dccb6 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
@@ -23,5 +23,5 @@ Name[ko]=새 빈 창
Name[ru]=Новое пустое окно
Name[zh_CN]=新建空窗口
Name[zh_TW]=開新空視窗
-Exec=@@EXEC@@ --new-window %F
+Exec=/usr/lib/@@NAME@@/bin/@@NAME@@ --new-window %F
Icon=@@ICON@@