Update afstool.py

This commit is contained in:
tmpz23 2022-04-11 22:09:00 +02:00 committed by GitHub
parent e4fe805a62
commit b63bfc70b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ import re
import time
__version__ = "0.1.1"
__version__ = "0.1.2"
__author__ = "rigodron, algoflash, GGLinnk"
__license__ = "MIT"
__status__ = "developpement"
@ -296,7 +296,7 @@ class Afs:
config = ConfigParser(allow_no_value=True) # allow_no_value to allow adding comments
config.optionxform = str # makes options case sensitive
config.add_section("Default")
config.set("Default", "# Documentation available here: https://github.com/Virtual-World-RE/NeoGF/blob/main/README.md#afs_rebuildconf--afs_rebuildcsv")
config.set("Default", "# Documentation available here: https://github.com/Virtual-World-RE/NeoGF/tree/main/afstool#afs_rebuildconf")
config.set("Default", "AFS_MAGIC", f"0x{self.__get_magic().hex()}")
config.set("Default", "files_rebuild_strategy", "mixed")
config.set("Default", "filename_directory", "True" if self.__filenamedirectory else "False")