typos and pylance

This commit is contained in:
2026-08-23 00:12:22 -07:00
parent e37275a1bb
commit d9d5b6d940
18 changed files with 115 additions and 114 deletions
+2 -4
View File
@@ -14,15 +14,14 @@ import time
import shlex
import psutil
import shutil
import platform
import subprocess
from typing import Union
from pathlib import Path
from datetime import datetime
# External library imports
from src.shared.shareddata import APP_NAME, PLATFORM_NAME
PLATFORM_NAME = platform.system().lower()
APP_NAME = "flares"
if PLATFORM_NAME == 'darwin':
_log_path = os.path.join(os.path.dirname(sys.executable), f"../../../{APP_NAME}_updater.log")
@@ -189,7 +188,6 @@ def main():
update_folder = sys.argv[1]
main_exe = sys.argv[2]
# Interesting naming convention
main_exe_path = Path(main_exe).resolve()
app_dir = main_exe_path.parent
bundle_dir = main_exe_path.parents[2]