mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
renamed fs.json to file_structure.json and convert_file.json to file_process.json to make them clearer
This commit is contained in:
parent
80582311e1
commit
798791b526
4 changed files with 6 additions and 6 deletions
4
setup.py
4
setup.py
|
@ -8,9 +8,9 @@ include_files = [
|
||||||
"./README.md",
|
"./README.md",
|
||||||
"./version",
|
"./version",
|
||||||
"./ct_config.json",
|
"./ct_config.json",
|
||||||
"./convert_file.json",
|
"./file_process.json",
|
||||||
"./translation.json",
|
"./translation.json",
|
||||||
"./fs.json",
|
"./file_structure.json",
|
||||||
|
|
||||||
"./tools",
|
"./tools",
|
||||||
"./source",
|
"./source",
|
||||||
|
|
|
@ -155,7 +155,7 @@ class Game:
|
||||||
count all the step patching subfile will take (for the progress bar)
|
count all the step patching subfile will take (for the progress bar)
|
||||||
:return: number of step estimated
|
:return: number of step estimated
|
||||||
"""
|
"""
|
||||||
with open("./fs.json") as f:
|
with open("./file_structure.json") as f:
|
||||||
fs = json.load(f)
|
fs = json.load(f)
|
||||||
|
|
||||||
# This part is used to estimate the max_step
|
# This part is used to estimate the max_step
|
||||||
|
@ -185,9 +185,9 @@ class Game:
|
||||||
|
|
||||||
def install_patch_subfile(self) -> None:
|
def install_patch_subfile(self) -> None:
|
||||||
"""
|
"""
|
||||||
patch subfile as indicated in the fs.json file (for file structure)
|
patch subfile as indicated in the file_structure.json file (for file structure)
|
||||||
"""
|
"""
|
||||||
with open("./fs.json") as f:
|
with open("./file_structure.json") as f:
|
||||||
fs = json.load(f)
|
fs = json.load(f)
|
||||||
|
|
||||||
extracted_file = []
|
extracted_file = []
|
||||||
|
@ -425,7 +425,7 @@ class Game:
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
if not (os.path.exists("./file/Track-WU8/")): os.makedirs("./file/Track-WU8/")
|
if not (os.path.exists("./file/Track-WU8/")): os.makedirs("./file/Track-WU8/")
|
||||||
with open("./convert_file.json") as f:
|
with open("./file_process.json") as f:
|
||||||
fc = json.load(f)
|
fc = json.load(f)
|
||||||
max_step = len(fc["img"]) + len(self.ctconfig.all_tracks) + 3 + len("EGFIS")
|
max_step = len(fc["img"]) + len(self.ctconfig.all_tracks) + 3 + len("EGFIS")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue