Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Add option to save user's selected extras #15 & Misc Fixes #21

Merged
merged 2 commits into from
Jul 29, 2018
Merged

Add option to save user's selected extras #15 & Misc Fixes #21

merged 2 commits into from
Jul 29, 2018

Conversation

PhantomGamers
Copy link
Contributor

@PhantomGamers PhantomGamers commented Jul 29, 2018

Implements #15

1. Remove unused directives.
2. hasPermission method was misspelt, fixed.
3. Write UnauthorizedAccessException to console, probably won't be
useful but #fixallthewarnings
I don't forsee any issues with this, it doesn't do any special checking
for if the manifest changes in the future but it shouldn't matter, if
the entries don't exist it simply won't check anything.

I also changed all occurences of FindSteamSkinDir() to SteamSkinPath
since that String already existed. I should have included that in the
previous commit but only noticed as I was adding in the save extras
code.

And lastly I moved the reading of the manifest out of the for loop,
certainly doesn't need to be redone each iteration of the loop, again
this could have been including in previous commit but I didn't realize
at the time.
@PhantomGamers PhantomGamers changed the title Add option to saved user's selected extras #15 & Misc Fixes Add option to save user's selected extras #15 & Misc Fixes Jul 29, 2018
@henrikx
Copy link
Owner

henrikx commented Jul 29, 2018

Hi! Thanks a lot! The code looks great from my phone. I'll look at it as soon as I can.

@henrikx henrikx self-requested a review July 29, 2018 20:02
Copy link
Owner

@henrikx henrikx left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Owner

@henrikx henrikx left a comment

Choose a reason for hiding this comment

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

Looks good. Will fix single bug

@@ -20,20 +16,21 @@ public MainForm()
{
InitializeComponent();
CheckForIllegalCrossThreadCalls = false;
if (!hasPerimssion(FindSteamSkinDir()))
if (!hasPermission(FindSteamSkinDir()))
Copy link
Owner

Choose a reason for hiding this comment

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

If Steam directory isn't found in registry, it will try to look for permission in C:, and will display it doesn't have permission

@henrikx henrikx merged commit 2f1509d into henrikx:master Jul 29, 2018
henrikx added a commit that referenced this pull request Jul 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants