Resort things slightly

This commit is contained in:
Fierelier 2021-06-17 18:28:49 +02:00
parent d52f1cf594
commit afb4b4e435

View File

@ -304,16 +304,16 @@ def main():
tmpFile = p(lv["gamePath"],"file.tmp") tmpFile = p(lv["gamePath"],"file.tmp")
if os.path.isfile(tmpFile): os.remove(tmpFile) if os.path.isfile(tmpFile): os.remove(tmpFile)
print("Scanning .json(s)...")
versionsPath = p(lv["gamePath"],"versions") versionsPath = p(lv["gamePath"],"versions")
libraryPath = p(lv["gamePath"],"libraries") libraryPath = p(lv["gamePath"],"libraries")
nativePath = p(lv["gamePath"],"natives") nativePath = p(lv["gamePath"],"natives")
clientJson,libraries,arguments,jvmArguments = processVersion(versionsPath,libraryPath,nativePath,lv["version"])
versionPath = p(lv["gamePath"],"versions",lv["version"]) versionPath = p(lv["gamePath"],"versions",lv["version"])
nativesOutPath = p(versionPath,"natives-" +lv["osName"]+ "." +lv["jvmArch"]) nativesOutPath = p(versionPath,"natives-" +lv["osName"]+ "." +lv["jvmArch"])
assetsPath = p(lv["gamePath"],"assets") assetsPath = p(lv["gamePath"],"assets")
print("Scanning .json(s)...")
clientJson,libraries,arguments,jvmArguments = processVersion(versionsPath,libraryPath,nativePath,lv["version"])
print("\nDownloading libraries...") print("\nDownloading libraries...")
for library in libraries: for library in libraries:
if "url" in library: if "url" in library: