-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Detect gamepath automatically #53
Conversation
I've no clue if this actually works on the Windows side of things, but it may or may not function... |
I think we should export all find-my-game-folder related code to a given module/method. |
I moved requests.js into extras and made the function for finding the potentional gamepath into it's own module. I also made the exec() called Promise based.
If you could test whether it still functions as it should after my last commit that'd be nice, I implemented the Promise
I noticed this too, not ideal and it'll confuse the user... |
- os nor app was imported - returned the entire vdf file instead
It appears that the VDF reading was broken, so I've made a pull request (#54) |
I made a PR (#55) to fix little typos and make this work on Windows (tested and approved). |
It'd be lovely if somebody could verify the VDF part also works just fine... |
Unfortunately, I don't have tf2 on Steam. |
Perhaps @3top1a does?
Usually get put on sale down to around 5$/€, and there's Lunar sale in like, 4-5 days... But don't buy it if you don't need it :) |
If its price goes around 5€, I'll buy it for sure! |
* Edge case * Alert user only when automatic detection failed * extra info on not found message * support for [Free/Open]BSD Co-authored-by: 0neGal <mail@0negal.com>
@Alystrasz, |
[fix] update general.missingpath French translation
Before you merge, I found some issues:
|
On the topic of this, perhaps we should change the text to |
Agreed, I had several people who thought Viper was not working because it "kept asking them about their game path". |
Hence why the new alert string (which I just noticed uses |
When changing the game path by clicking the button you shouldn't be told it can't find the game and you've to select one manually, as you know that already. More importantly, if it could be found automatically it'll just not do anything. With this change I also changed the "gui.setpath" string to be more logical, and to make it clear what it does.
This also fixes mods not showing up after first install of NS
I think everything is working just as intended, that is if the auto detection works, but I trust your words on that, hence I'll be merging this... |
Combined #51 and #52 into one.