Skip to content

fix portable settings.path not respected for prefs and language#1439

Open
avinxshKD wants to merge 1 commit intoprocessing:mainfrom
avinxshKD:fix/portable-preferences-path
Open

fix portable settings.path not respected for prefs and language#1439
avinxshKD wants to merge 1 commit intoprocessing:mainfrom
avinxshKD:fix/portable-preferences-path

Conversation

@avinxshKD
Copy link
Contributor

fixed #1435
check Base.getSettingsOverride() before Settings.getFolder() in Preferences.kt and Locale.kt so portable settings.path works

@avinxshKD
Copy link
Contributor Author

@catilac @SableRaf @Stefterv
fixed Preferences.kt nd also found the same bug in Locale.kt (language.txt would also go to the wrong folder in portable mode). both were calling Settings.getFolder() directly instead of checking Base.getSettingsOverride() first

let me know if adjustments needed, thanks goodnight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom preferences.txt location not working in Processing 4.5.2

1 participant

Comments