diff --git a/dpkg/usr/share/applications/sweecrypt-gtk.desktop b/dpkg/usr/share/applications/sweecrypt-gtk.desktop index 2eb1c97..fa62ac8 100644 --- a/dpkg/usr/share/applications/sweecrypt-gtk.desktop +++ b/dpkg/usr/share/applications/sweecrypt-gtk.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Name=SweeCrypt GTK Comment=Simple and fun cipher -Exec=python3 /usr/bin/sweecrypt-gtk +Exec=/usr/bin/sweecrypt-gtk Type=Application Icon=sweecrypt Categories=Utility; diff --git a/generate-deb.py b/generate-deb.py index 6d6b471..9100946 100644 --- a/generate-deb.py +++ b/generate-deb.py @@ -6,7 +6,7 @@ if os.name != "posix": file = open("sweecrypt-gtk.py").read().split("\n") open("dpkg/opt/sweecrypt-gtk.ui",'w').write(open("sweecrypt-gtk.ui").read()) file[3] = 'UI_FILE = "/opt/sweecrypt-gtk.ui"' -file.insert(0, "#!/usr/bin/env") +file.insert(0, "#!/usr/bin/env python3") file = "\n".join(file) open("dpkg/usr/bin/sweecrypt-gtk",'w').write(file) os.system("chmod 1777 dpkg/usr/bin/sweecrypt-gtk")