Skip to content

Commit

Permalink
remove xim version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunrisepeak committed Feb 13, 2025
1 parent 9600aba commit 7ff7821
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkgs/p/project-graph.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function config_desktop_shortcut(action)
local shortcut_file = path.join(os.getenv("HOME"), ".local/share/applications", filename)
local desktop_entry = [[
[Desktop Entry]
Name=Project Graph - [%s] - XIM
Name=Project Graph - [%s]
Comment=Diagram creator
Exec=%s
Icon=%s
Expand Down
6 changes: 3 additions & 3 deletions pkgs/v/vscode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ local shortcut_dir = {
local shortcut_template = {
linux = [[
[Desktop Entry]
Name=Visual Studio Code - [%s] - XIM
Name=Visual Studio Code - [%s]
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=%s
Expand Down Expand Up @@ -111,7 +111,7 @@ function config()
if os.host() == "windows" then
code_alias = "code.cmd"
-- create desktop shortcut
local lnk_filename = "Visual Studio Code - [" .. pkginfo.version .. "] - XIM"
local lnk_filename = "Visual Studio Code - [" .. pkginfo.version .. "]"
create_windows_shortcut(
lnk_filename,
path.join(pkginfo.install_dir, "code.exe"),
Expand Down Expand Up @@ -139,7 +139,7 @@ function uninstall()
os.exec("xvm remove vscode " .. pkginfo.version)
if os.host() == "windows" then
-- remove desktop shortcut
local lnk_filename = "Visual Studio Code - [" .. pkginfo.version .. "] - XIM"
local lnk_filename = "Visual Studio Code - [" .. pkginfo.version .. "]"
local lnk_path = path.join(shortcut_dir[os.host()], lnk_filename .. ".lnk")
print("removing desktop shortcut - %s", lnk_path)
os.tryrm(path.join("C:/Users", os.getenv("USERNAME"), "Desktop", lnk_filename .. ".lnk"))
Expand Down

0 comments on commit 7ff7821

Please sign in to comment.