fix portable settings.path not respected for prefs and language by avinxshKD · Pull Request #1439 · processing/processing4

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@avinxshKD

Copy link

Contributor

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

glvjr reacted with eyes emoji

@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

@catilac

Copy link

Collaborator

catilac commented

Feb 19, 2026

lgtm! thank you

avinxshKD reacted with rocket emoji

@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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Custom preferences.txt location not working in Processing 4.5.2

2 participants

@avinxshKD @catilac