Update CurseForge to Packwiz-Modrinth.py

This commit is contained in:
Madis 2023-06-25 20:31:33 +03:00
parent a816d9b11e
commit 632dd50c28

View file

@ -145,10 +145,10 @@ def main() -> int:
print("Moved " + pack + " to desktop")
os.system(packwiz_exe_path + " refresh")
#if not refresh_only:
# mmc_zip_root = str(Path(cf_zip_path).parents[0])
# mmc_zip_path = mmc_zip_root + "\\Fabulously Optimized " + pack_version + ".zip"
# remove_mod_from_archive("Sodium", mmc_zip_path)
if not refresh_only and minecraft_version == "1.19.4":
mmc_zip_root = str(Path(cf_zip_path).parents[0])
mmc_zip_path = mmc_zip_root + "\\Fabulously Optimized " + pack_version + ".zip"
remove_mod_from_archive("Sodium", mmc_zip_path)
return 0