fixing desktop files
This commit is contained in:
parent
c32b7bd3b2
commit
2d0a87be8f
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue