Remove desktop icon for xdg install

This commit is contained in:
Veronica K. B. Olsen
2021-04-02 15:37:55 +02:00
parent 641ff441b5
commit a3c4d7c7b6
-13
View File
@@ -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: