add Jon's fix

This commit is contained in:
Derek Hirotsu
2024-09-27 11:22:39 -07:00
parent 1171cc5d49
commit f59abebaf9
3 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# Cities Skylines 2
This benchmark uses a 100,000 population save at a busy intersection to see how the CPU can handle the calculations at 3x speed. It also installs a third party launcher on the system to bypass Paradox's terrible game launcher.
This benchmark uses a 100,000 population save at a busy intersection to see how the CPU can handle the calculations at 3x speed. It also installs a third party launcher on the system to bypass Paradox's terrible game launcher made by shusaura85. Link available at https://github.com/shusaura85/notparadoxlauncher
## Prerequisites

View File

@@ -75,7 +75,6 @@ def copy_launcherpath():
if os.path.exists(dest_path) is True:
try:
file_path = os.path.join(LAUNCHCONFIG_LOCATION, launcherpath)
os.chmod(file_path, stat.S_IWRITE)
os.remove(file_path)
logging.info("Removing old launcher file from %s", LAUNCHCONFIG_LOCATION)
except OSError as e:
@@ -84,7 +83,7 @@ def copy_launcherpath():
with open(f"{src_path}", "w", encoding="utf-8") as f:
f.write(f"{INSTALL_LOCATION}")
shutil.copy(src_path, dest_path)
os.chmod(dest_path, stat.S_IREAD)
#os.chmod(dest_path, stat.S_IREAD)
except OSError as err:
logging.error("Could not copy the launcherpath file. %s", e)
raise err

View File

@@ -1 +1 @@
D:\Games\Steam Games\steamapps\common\Cities Skylines II
C:\Program Files (x86)\Steam\steamapps\common\Cities Skylines II