Skip to content

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

Merged
catilac merged 1 commit into
processing:mainfrom
avinxshKD:fix/portable-preferences-path
Feb 19, 2026
Merged

fix portable settings.path not respected for prefs and language#1439
catilac merged 1 commit into
processing:mainfrom
avinxshKD:fix/portable-preferences-path

Conversation

@avinxshKD

Copy link
Copy Markdown
Contributor

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

@avinxshKD

Copy link
Copy Markdown
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

@catilac

catilac commented Feb 19, 2026

Copy link
Copy Markdown
Collaborator

lgtm! thank you

@catilac catilac merged commit 173f646 into processing:main Feb 19, 2026
6 checks passed
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

2 participants