From d0b16c7ff992f790fafa59e800ccf2a8afac96df Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 19 Jan 2025 12:56:27 -0800 Subject: [PATCH] Delete generate-flatpak.py --- generate-flatpak.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 generate-flatpak.py diff --git a/generate-flatpak.py b/generate-flatpak.py deleted file mode 100644 index f03ad45..0000000 --- a/generate-flatpak.py +++ /dev/null @@ -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] = " codes.swee.SweeCryptGTK" -file = "\n".join(file) -open("flatpak.ui", "w").write(file) -os.system("mkdir flatpak") \ No newline at end of file