-
Notifications
You must be signed in to change notification settings - Fork 525
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
Conversation
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.
/cc @vbfox |
@forki are the ci failures mine? On appveyor one of the builds pass, but on all others they fail. |
I guess it's unrelated
Chris Blyth <[email protected]> schrieb am Fr., 11. Mai 2018, 19:29:
… @forki <https://github.com/forki> are the ci failures mine? On appveyor
one of the builds pass, but on all others they fail.
It's kinda confusing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3197 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNIqeVd_zBlPrCBRa__KvUn2y-vBZks5txcphgaJpZM4T7Ayw>
.
|
|
||
return Path.Combine(fileSystemProxy.GetTempPath(), targetName); | ||
var targetFolder = Path.Combine(fileSystemProxy.GetTempPath(), "paket"); | ||
Directory.CreateDirectory(targetFolder); |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 👍🏼
Yes I think so, I approved the changes but don't have access to the repo to merge. |
Oh sorry, I didn't realise that, just waiting on @forki then 😂 |
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.