bring back skip_pack_generation

This commit is contained in:
Isaac0-dev 2025-03-04 17:12:23 +10:00
parent 386417edc0
commit 2fca847499
3 changed files with 5 additions and 0 deletions

View file

@ -4,6 +4,8 @@ extern "C" {
}
void DynOS_Gfx_GeneratePacks(const char* directory) {
if (configSkipPackGeneration) { return; }
LOADING_SCREEN_MUTEX(
loading_screen_reset_progress_bar();
snprintf(gCurrLoadingSegment.str, 256, "Generating DynOS Packs In Path:\n\\#808080\\%s", directory);

View file

@ -189,6 +189,7 @@ unsigned int configDjuiScale = 0;
// other
unsigned int configRulesVersion = 0;
bool configCompressOnStartup = false;
bool configSkipPackGeneration = false;
// secrets
bool configExCoopTheme = false;
@ -320,6 +321,7 @@ static const struct ConfigOption options[] = {
// other
{.name = "rules_version", .type = CONFIG_TYPE_UINT, .uintValue = &configRulesVersion},
{.name = "compress_on_startup", .type = CONFIG_TYPE_BOOL, .boolValue = &configCompressOnStartup},
{.name = "skip_pack_generation", .type = CONFIG_TYPE_BOOL, .boolValue = &configSkipPackGeneration},
};
struct SecretConfigOption {

View file

@ -137,6 +137,7 @@ extern unsigned int configDjuiScale;
// other
extern unsigned int configRulesVersion;
extern bool configCompressOnStartup;
extern bool configSkipPackGeneration;
// secrets
extern bool configExCoopTheme;