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

Update magic mode file location #3197

Merged
merged 3 commits into from
May 17, 2018
Merged

Conversation

BlythMeister
Copy link
Contributor

Some companies (mine included) block the running of exe in any of the app data folders as this is where malware typically embeds itself.
It is possible to put folder exclusions into group policy, but since paket was just going into the root of the temp folder it is not possible to unblock it.
This change will put the downloaded magic paket.exe into a paket folder.

Some companies (mine included) block the running of exe in any of the app data folders as this is where malware typically embeds itself.
It is possible to put folder exclusions into group policy, but since paket was just going into the root of the temp folder it is not possible to unblock it.
This change will put the downloaded magic paket.exe into a paket folder.
@forki
Copy link
Member

forki commented May 11, 2018

/cc @vbfox

@BlythMeister
Copy link
Contributor Author

@forki are the ci failures mine? On appveyor one of the builds pass, but on all others they fail.
It's kinda confusing.

@forki
Copy link
Member

forki commented May 11, 2018 via email


return Path.Combine(fileSystemProxy.GetTempPath(), targetName);
var targetFolder = Path.Combine(fileSystemProxy.GetTempPath(), "paket");
Directory.CreateDirectory(targetFolder);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use fileSystemProxy here (it should have a CreateDirectory method too)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done 👍🏼

@BlythMeister
Copy link
Contributor Author

@forki @vbfox is this good to merge now?

@vbfox
Copy link
Contributor

vbfox commented May 17, 2018

Yes I think so, I approved the changes but don't have access to the repo to merge.

@BlythMeister
Copy link
Contributor Author

Oh sorry, I didn't realise that, just waiting on @forki then 😂

@forki forki merged commit a1bf35b into fsprojects:master May 17, 2018
@BlythMeister BlythMeister deleted the patch-2 branch May 11, 2021 16:06
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.

None yet

3 participants