From 643ed3149af213a659db3261d64bf425702fa9e9 Mon Sep 17 00:00:00 2001 From: Max Mindlin Date: Wed, 26 Jun 2024 15:50:12 -0400 Subject: [PATCH] fix installer path --- scripts/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installer.py b/scripts/installer.py index 4a5e553..f0915fc 100644 --- a/scripts/installer.py +++ b/scripts/installer.py @@ -11,7 +11,7 @@ if not os.path.exists(SCOUT_DIR): os.makedirs(SCOUT_DIR) else: - shutil.rmtree(os.path.join(SCOUT_DIR, "scout-std")) + shutil.rmtree(os.path.join(SCOUT_DIR, "scout-lib")) url = "https://api.github.com/repos/maxmindlin/scout-lang/releases/latest" @@ -24,7 +24,7 @@ myzip = ZipFile(BytesIO(zip_resp.read())) std_to_replace = f"scout-lang-{version[1::]}/" -std_file_start = std_to_replace + "scout-std/" +std_file_start = std_to_replace + "scout-lib/" for file in myzip.infolist(): if std_file_start in file.filename: replaced = file.filename.replace(std_to_replace, "")