From 9cd59c2d0d34e5c1f049fccd812371fcdac0be78 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+KaizIqbal@users.noreply.github.com> Date: Sun, 9 Aug 2020 18:55:09 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Window=20install.inf=20content?= =?UTF-8?q?=20and=20other=20configs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/config.py b/config.py index 7069bdb..140ddcd 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,5 @@ import tempfile +import json # Build Config delay = 50 @@ -9,5 +10,20 @@ bitmaps_dir = "./bitmaps" temp_folder = tempfile.mkdtemp() # Cleanup Configs -x11_out = "macOSBigSur" -win_out = "macOSBigSur_Windows" +x11_out = name +win_out = name + "_Windows" + +# getting author name +with open("./package.json") as f: + data = json.loads(f.read()) + author = data["author"] + +# Windows Cursors Config + +# Windows install.inf file content +with open("./scripts/windows.inf") as f: + data = f.read() + window_install_inf = data.replace( + "", name+" Cursors").replace("", author) + +print(window_install_inf)