Delete generate-flatpak.py
Some checks failed
Auto build / Build Debian Package (push) Failing after 16s
Some checks failed
Auto build / Build Debian Package (push) Failing after 16s
This commit is contained in:
parent
9aca1b1e06
commit
d0b16c7ff9
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
import os
|
||||
print("Creating Flatpak package...")
|
||||
file = open("sweecrypt-gtk.py").read().split("\n")
|
||||
file[3] = 'UI_FILE = "/app/opt/sweecrypt-gtk.ui"'
|
||||
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>"
|
||||
file = "\n".join(file)
|
||||
open("flatpak.ui", "w").write(file)
|
||||
os.system("mkdir flatpak")
|
Loading…
Add table
Reference in a new issue