GreenLuma-Reborn-Manager icon indicating copy to clipboard operation
GreenLuma-Reborn-Manager copied to clipboard

GLR Uncorrect Path Error

Open Lykanthros opened this issue 11 months ago • 0 comments

Hi, I just started using glr today and have problems Problem 1 : getting steam_path is true but replacing is wrong and its corrupts the path

ERROR:root:Traceback (most recent call last): File "Qt\logic.py", line 208, in run_GLR File "Qt\logic.py", line 316, in replaceConfig File "fileinput.py", line 249, in next File "fileinput.py", line 343, in _readline FileNotFoundError: [WinError 2] Sistem belirtilen dosyayı bulamıyor: 'C://Program Files (x86)//Steam/DllInjector.ini' -> 'C://Program Files (x86)//Steam/DllInjector.ini.bak' NoneType: None

Did u see the 'C://Program Files (x86)//Steam/DllInjector.ini' theres all the problem I think problem start with windows or because of logic.py: def replaceConfig(self, name, new_value, append = False): found = False with fileinput.input(core.config.steam_path + "/DllInjector.ini", inplace=True) as fp: for line in fp: if not line.startswith("#"): tokens = line.split("=") if tokens[0].strip() == name: found = True tokens[1] = new_value line = "=".join(tokens) + "\n" print(line, end = "")

Lykanthros avatar Mar 19 '24 17:03 Lykanthros