From abff3a543eaefbaae2a76e9edde679251bca2525 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Mon, 21 Mar 2022 08:49:22 +0200 Subject: [PATCH] Refactored --- KOTIKOT_launcher.py | 4 ++-- OfficialProjects/LAUNCHERFILES/v | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/KOTIKOT_launcher.py b/KOTIKOT_launcher.py index 8aa0197..96e9ebd 100644 --- a/KOTIKOT_launcher.py +++ b/KOTIKOT_launcher.py @@ -99,8 +99,8 @@ def launchApp(): urllib.request.urlretrieve('/'.join(app['urls'][0].split('/')[:-1]) + '/v', offprojects + app['dir'] + "/v") - displayName = name.replace('\n', '') - print(f"---------------- {displayName} ----------------") + display_name = name.replace('\n', '') + print(f"---------------- {display_name} ----------------") subprocess.Popen(str(sys.executable + " " if app['runtime'] == "python" else "") + app['run'], cwd=directory, shell=True, close_fds=True) diff --git a/OfficialProjects/LAUNCHERFILES/v b/OfficialProjects/LAUNCHERFILES/v index 56a6051..d8263ee 100644 --- a/OfficialProjects/LAUNCHERFILES/v +++ b/OfficialProjects/LAUNCHERFILES/v @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file