Update generate-flatpak.py
Some checks failed
Auto build / Build Debian Package (push) Successful in 31s
Auto build / Build Flatpak Package (push) Failing after 27s

This commit is contained in:
Nova Cat 2024-12-27 18:02:40 -08:00
parent 162388a1a9
commit 564821d707

View file

@ -7,4 +7,7 @@ file.insert(0, "#!/usr/bin/env python3")
file = "\n".join(file)
open("sweecrypt-gtk-flatpak.py", "w").write(file)
os.system("chmod 1777 sweecrypt-gtk-flatpak.py")
file = open("sweecrypt-gtk.ui").read().split("\n")
file[19] = " <property name=\"icon-name\">codes.swee.SweeCryptGTK</property>"
open("flatpak.ui", "w").write(file)
os.system("mkdir flatpak")