Skip to content

LocalPlayerPrefsMod: Add new cli parameter --localplayerprefs=#1

Open
dakyneko wants to merge 1 commit intoknah:mainfrom
dakyneko:main
Open

LocalPlayerPrefsMod: Add new cli parameter --localplayerprefs=#1
dakyneko wants to merge 1 commit intoknah:mainfrom
dakyneko:main

Conversation

@dakyneko
Copy link
Copy Markdown

The goal of this PR is to allow users to specify the file PlayerPrefs.json directly from the cli arguments. It becomes easy to change shortcuts, or make several windows shortcuts or use command line batch. Whereas currently the recommended way was to move the file PlayerPrefs.json / or make symlinks, not sure?

The processing of the cli argument is very simplistic. I assumed that Windows / batch would support quotes " like in bash but it's not working with space. Any suggestion welcomed.

Hope it helps and it's worth contribution. Thanks for your work!

Copy link
Copy Markdown

@GoldenretriverYT GoldenretriverYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be useful, yeah

@dakyneko
Copy link
Copy Markdown
Author

@knah ping, do you mind merging or reviewing this?

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.

2 participants