From 8da8e2a4c3e04127fbcd3cb4f7f52b000d56c624 Mon Sep 17 00:00:00 2001 From: Swee Date: Thu, 12 Sep 2024 17:00:20 -0700 Subject: [PATCH] Update generate-deb.py --- generate-deb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-deb.py b/generate-deb.py index cf76e4b..6d6b471 100644 --- a/generate-deb.py +++ b/generate-deb.py @@ -5,7 +5,7 @@ if os.name != "posix": print("WARNING: Machine is not running Linux (value of os.name is not \"posix\"), the script will not try to auto-build the .deb file. You might need to manually `chmod 1777` the binary.") file = open("sweecrypt-gtk.py").read().split("\n") open("dpkg/opt/sweecrypt-gtk.ui",'w').write(open("sweecrypt-gtk.ui").read()) -file[4] = 'UI_FILE = "/opt/sweecrypt-gtk.ui"' +file[3] = 'UI_FILE = "/opt/sweecrypt-gtk.ui"' file.insert(0, "#!/usr/bin/env") file = "\n".join(file) open("dpkg/usr/bin/sweecrypt-gtk",'w').write(file)