Update 'gen_contents.py'
This commit is contained in:
parent
af8d9426a2
commit
065d3eff8b
@ -26,6 +26,13 @@ bin_files = {
|
|||||||
"SHORT_NAME": "lockpick",
|
"SHORT_NAME": "lockpick",
|
||||||
"zipped": False,
|
"zipped": False,
|
||||||
},
|
},
|
||||||
|
"fusee": {
|
||||||
|
"API_URL": "https://api.github.com/repos/Atmosphere-NX/Atmosphere/releases/latest",
|
||||||
|
"BIN_NAME": "fusee",
|
||||||
|
"SERIALIZED_FILENAME": "fusee.bin.js",
|
||||||
|
"SHORT_NAME": "fusee",
|
||||||
|
"zipped": False,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
### BASIC FILE STUFF, DO NOT EDIT
|
### BASIC FILE STUFF, DO NOT EDIT
|
||||||
@ -126,6 +133,7 @@ def generate_html():
|
|||||||
fetch_github_latest_tag(bin_files["hekate"]["API_URL"]),
|
fetch_github_latest_tag(bin_files["hekate"]["API_URL"]),
|
||||||
fetch_github_latest_tag(bin_files["tegraexplorer"]["API_URL"]),
|
fetch_github_latest_tag(bin_files["tegraexplorer"]["API_URL"]),
|
||||||
fetch_github_latest_tag(bin_files["lockpick"]["API_URL"]),
|
fetch_github_latest_tag(bin_files["lockpick"]["API_URL"]),
|
||||||
|
fetch_github_latest_tag(bin_files["fusee"]["API_URL"]),
|
||||||
))
|
))
|
||||||
html_data_list.append(post)
|
html_data_list.append(post)
|
||||||
|
|
||||||
@ -139,9 +147,9 @@ def main():
|
|||||||
generate_js("hekate")
|
generate_js("hekate")
|
||||||
generate_js("tegraexplorer")
|
generate_js("tegraexplorer")
|
||||||
generate_js("lockpick")
|
generate_js("lockpick")
|
||||||
|
generate_js("fusee")
|
||||||
generate_html()
|
generate_html()
|
||||||
shutil.copy("js/main.js", "site/main.js")
|
shutil.copy("js/main.js", "site/main.js")
|
||||||
shutil.copy("js/fusee.bin.js", "site/fusee.bin.js")
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user