-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
when joining the paths with the defaults from data.py it results in wrong gamepaths.
location of issue:
VakScript/vakscript/autoconfig.py
Line 172 in b4c64e9
| settings_to_persist = os.path.join(league_path, Info.settings_to_persist_path) |
VakScript/vakscript/autoconfig.py
Line 173 in b4c64e9
| persisted_settings = os.path.join(league_path, Info.persisted_settings_path) |
example:
data.py:
Info.game_files_path = '\Riot Games\League of Legends'
Info.settings_to_persist = 'DATA\CFG\defaults\SettingsToPersist.json'
Info.settings_to_persist_path = path.join(game_files_path, settings_to_persist)
results in '\Riot Games\League of Legends\DATA\CFG\defaults\SettingsToPersist.json'
when you join this with league_path from autoconfig.py it will look like:
league_path = "C:\Games\Riot Games\League of Legends"
settings_to_persist = os.path.join('C:\Games\Riot Games\League of Legends', '\\Riot Games\\League of Legends\\DATA\\CFG\\defaults\\SettingsToPersist.json')
resulting wrongly in:
C:\Riot Games\League of Legends\DATA\CFG\defaults\SettingsToPersist.json
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
