Update generate-deb.py

This commit is contained in:
Swee 2024-09-10 16:18:27 -07:00
parent 76f51b769f
commit 38f45e202c

View file

@ -11,5 +11,4 @@ file = "\n".join(file)
open("dpkg/usr/bin/sweecrypt-gtk",'w').write(file)
os.system("chmod 1777 dpkg/usr/bin/sweecrypt-gtk")
if os.name == "posix":
os.system("dpkg-deb --root-owner-group --build dpkg")
os.rename("dpkg.deb", "sweecrypt-gtk.deb")
os.system("dpkg-deb --root-owner-group --build dpkg sweecrypt-gtk.deb")