From a3c4d7c7b6473b989c62c82615f1a8a3af669c55 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Fri, 2 Apr 2021 15:37:55 +0200 Subject: [PATCH] Remove desktop icon for xdg install --- setup.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/setup.py b/setup.py index d6983c0c..821634b2 100755 --- a/setup.py +++ b/setup.py @@ -577,14 +577,6 @@ def xdgInstall(): else: print(f"Error {exCode}: Could not install menu desktop file") - exCode = subprocess.call( - ["xdg-desktop-icon", "install", "--novendor", "./novelwriter.desktop"] - ) - if exCode == 0: - print("Installed icon desktop file") - else: - print(f"Error {exCode}: Could not install icon desktop file") - print("") # Install MimeType @@ -932,11 +924,6 @@ if __name__ == "__main__": # General Installers # ================== - if "launcher" in sys.argv: - sys.argv.remove("launcher") - print("The 'launcher' command has been replaced by 'xdg-install'.") - sys.exit(1) - if "xdg-install" in sys.argv: sys.argv.remove("xdg-install") if hostOS == OS_WIN: