Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icebreaker: settings "hardcoded" #663

Open
humdingerb opened this issue Jun 21, 2016 · 5 comments
Open

icebreaker: settings "hardcoded" #663

humdingerb opened this issue Jun 21, 2016 · 5 comments
Labels

Comments

@humdingerb
Copy link
Member

@humdingerb humdingerb commented Jun 21, 2016

The path for the settings (scores and cfg) are hardcoded.
The icebreaker.cfg is always created in ~/config/settings/, should be B_USER_SETTINGS_DIRECTORY.

The icebreaker.scores is put into $settingsDir, which results in being in /system/settings. If the package is installed in the home hierarchy, the highscores aren't found or saved.
They, too, should be in B_USER_SETTINGS_DIRECTORY.

@Begasus
Copy link
Contributor

@Begasus Begasus commented Jun 22, 2019

Should be fixed in the PR

@Begasus
Copy link
Contributor

@Begasus Begasus commented Jun 22, 2019

Well partial, can't find how to use B_USER_SETTINGS_DIRECTORY for the hardcoded path :/

@Begasus
Copy link
Contributor

@Begasus Begasus commented Jun 23, 2019

From the install part inside haikuporter:

touch /boot/home/config/settings/icebreaker.scores

This doesn't work with B_USER_SETTINGS_DIRECTORY

@Begasus
Copy link
Contributor

@Begasus Begasus commented Jun 23, 2019

Haven't found a solution so far, issue remains

@Begasus
Copy link
Contributor

@Begasus Begasus commented Jun 23, 2019

Only solution so far would be if you moved the scores file from $settingsDir to ~/config/settings manually

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.