Automatically downloads updated dex entries from repo

This commit is contained in:
infinitefusion
2024-04-13 13:49:49 -04:00
parent 3184a79bfd
commit cca1e0bd62
3 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,11 @@ def updateCreditsFile
download_file(Settings::CREDITS_FILE_URL, Settings::CREDITS_FILE_PATH,)
end
def updateCustomDexFile
return if $PokemonSystem.download_sprites != 0
download_file(Settings::CUSTOM_DEX_FILE_URL, Settings::CUSTOM_DEX_ENTRIES_PATH,)
end
def createCustomSpriteFolders()
if !Dir.exist?(Settings::CUSTOM_BATTLERS_FOLDER)
Dir.mkdir(Settings::CUSTOM_BATTLERS_FOLDER)