Update UI compiler
This commit is contained in:
12
scripts/AssetVersion.py
Normal file
12
scripts/AssetVersion.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import os
|
||||
from sys import argv
|
||||
|
||||
path = argv[1]
|
||||
|
||||
assetsbundlePath = os.path.join(path, "sharedassets0.assets")
|
||||
if os.path.exists(assetsbundlePath):
|
||||
with open(assetsbundlePath, "rb") as assetsBundle:
|
||||
unityVersion = assetsBundle.read(28)[20:].decode("utf-8").rstrip("\0")
|
||||
print(unityVersion)
|
||||
else:
|
||||
print("Nothing found")
|
||||
Reference in New Issue
Block a user