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

Auto load configuration #20

Closed
Tsuk1ko opened this issue Aug 17, 2019 · 4 comments
Closed

Auto load configuration #20

Tsuk1ko opened this issue Aug 17, 2019 · 4 comments
Assignees

Comments

@Tsuk1ko
Copy link

Tsuk1ko commented Aug 17, 2019

Hi, I really like this program and I have used it for a long time, very nice!

Is it possible to auto load configure? This may require storing additional configurations to AppData or somewhere.

If you do not like that, is it possible to attach the configuration file location in the form of command line parameters to boot directly to the main interface?

Thank you.

@Tsuk1ko Tsuk1ko changed the title Auto load configure Auto load configuration Aug 17, 2019
@RoanH
Copy link
Owner

RoanH commented Aug 17, 2019

Hi,

The main reason there is currently no support for that is indeed because I dislike storing data on the users system (especially AppData). However given that this feature is actually requested a lot I do have some plans to implement it via the GUI. Most likely I'll end up storing a small configuration file in the same folder as the exe/jar in that case (and probably make it optional).

There is already support to pass a configuration file via the command line though. If that stopped working please let me know!

And thank you for using KeysPerSecond ^_^

@RoanH RoanH self-assigned this Aug 17, 2019
@Tsuk1ko
Copy link
Author

Tsuk1ko commented Aug 17, 2019

Really! Sorry I missed the README. 😂

But it seems that it only work when accept an absolute path.

# not work
javaw -jar KeysPerSecond.jar xxx.kpsconf3
# work
javaw -jar KeysPerSecond.jar D:\\xxx.kpsconf3

@Tsuk1ko Tsuk1ko closed this as completed Aug 17, 2019
@RoanH
Copy link
Owner

RoanH commented Aug 17, 2019

No worries 😄

I might switch things up so that both forms are accepted, but for now only absolute paths work yeah.

RoanH added a commit that referenced this issue Jan 16, 2024
Default Config

Closes #150, #233, and #267
GitHub #89 and #20

See merge request roan/KeysPerSecond!42
@RoanH
Copy link
Owner

RoanH commented Jan 16, 2024

Starting from v8.8 it'll also be possible to configure a default configuration that the program launches with.

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

No branches or pull requests

2 participants