Fixed relative paths AGAIN. Maybe I’m just dumb or something...
parent
da57f69e59
commit
f0041651d9
|
@ -108,10 +108,7 @@ def getToken(username, password):
|
|||
return access_token, profile_id, username
|
||||
|
||||
def deRelative(cwd, path):
|
||||
if path[0]=='.':
|
||||
return os.path.join(cwd, path)
|
||||
else:
|
||||
return path
|
||||
return os.path.join(cwd, path)
|
||||
|
||||
def run(java_executable, ram, alignTo, libs, username, gameDir, assets, uuid, accessToken):
|
||||
cwd = os.getcwd()
|
||||
|
|
Reference in New Issue