Fixed "Open Mods-Folder" function
Was causing issues on Linux
This commit is contained in:
parent
99a1e8ed3c
commit
726fabdea1
|
@ -208,9 +208,9 @@ def unloadMods(output = False):
|
|||
|
||||
def openModsFolder():
|
||||
if areModsLoaded():
|
||||
webbrowser.open("file:///" +originalModPath)
|
||||
webbrowser.open("file://" +originalModPath)
|
||||
else:
|
||||
webbrowser.open("file:///" +modPath)
|
||||
webbrowser.open("file://" +modPath)
|
||||
|
||||
def areModsLoaded():
|
||||
if os.path.isdir(originalAppPath):
|
||||
|
|
Loading…
Reference in New Issue