Use unity versions in archive names
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import os
|
||||
from sys import argv
|
||||
|
||||
path = argv[1]
|
||||
assetsbundlePath = 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")
|
||||
|
||||
Reference in New Issue
Block a user