mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
Added option to not generate disable_*.txt"s
This commit is contained in:
parent
2c428e071a
commit
16e49d9bcb
@ -506,6 +506,7 @@ def help():
|
|||||||
print(" -aw: generate schemas of all possible languages for Achievement Watcher")
|
print(" -aw: generate schemas of all possible languages for Achievement Watcher")
|
||||||
print(" -clean: delete any folder/file with the same name as the output before generating any data")
|
print(" -clean: delete any folder/file with the same name as the output before generating any data")
|
||||||
print(" -anon: login as with an anonymous account, these have very limited access and cannot get all app details")
|
print(" -anon: login as with an anonymous account, these have very limited access and cannot get all app details")
|
||||||
|
print(" -nd: not making predeterminated disable files")
|
||||||
print("\nAll switches are optional except app id, at least 1 app id must be provided\n")
|
print("\nAll switches are optional except app id, at least 1 app id must be provided\n")
|
||||||
|
|
||||||
|
|
||||||
@ -513,6 +514,7 @@ def main():
|
|||||||
USERNAME = ""
|
USERNAME = ""
|
||||||
PASSWORD = ""
|
PASSWORD = ""
|
||||||
|
|
||||||
|
NODISABLE = False
|
||||||
DOWNLOAD_SCREESHOTS = False
|
DOWNLOAD_SCREESHOTS = False
|
||||||
DOWNLOAD_THUMBNAILS = False
|
DOWNLOAD_THUMBNAILS = False
|
||||||
DOWNLOAD_VIDEOS = False
|
DOWNLOAD_VIDEOS = False
|
||||||
@ -551,6 +553,8 @@ def main():
|
|||||||
CLEANUP_BEFORE_GENERATING = True
|
CLEANUP_BEFORE_GENERATING = True
|
||||||
elif f'{appid}'.lower() == '-anon':
|
elif f'{appid}'.lower() == '-anon':
|
||||||
ANON_LOGIN = True
|
ANON_LOGIN = True
|
||||||
|
elif f'{appid}'.lower() == '-nd':
|
||||||
|
NODISABLE = True
|
||||||
else:
|
else:
|
||||||
print(f'[X] invalid switch: {appid}')
|
print(f'[X] invalid switch: {appid}')
|
||||||
help()
|
help()
|
||||||
@ -833,7 +837,8 @@ def main():
|
|||||||
logo,
|
logo,
|
||||||
logo_small)
|
logo_small)
|
||||||
|
|
||||||
disable_all_extra_features(emu_settings_dir)
|
if not NODISABLE:
|
||||||
|
disable_all_extra_features(emu_settings_dir)
|
||||||
|
|
||||||
inventory_data = generate_inventory(client, appid)
|
inventory_data = generate_inventory(client, appid)
|
||||||
if inventory_data is not None:
|
if inventory_data is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user