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

Windows: Omnisharp plugin requires administrator permissions to download #1

Open
bryphe opened this issue Aug 12, 2017 · 0 comments
Open
Labels

Comments

@bryphe
Copy link
Owner

bryphe commented Aug 12, 2017

Issue:

In distribution builds, on Windows, the Omnisharp (C#) language service requires administrator privilege to download the windows client. The install location on my machine, for example, is here:
"Downloading C:\Program Files (x86)\Oni\resources\app\node_modules\omnisharp-client\omnisharp-win-x64-net46\omnisharp-win-x64-net46.zip"}

Therefore, downloading this in a non-administrator context will result in the download failing.

Potential Fixes:

  • OPTION 1: See if there is a way to override the download / binary location for this. Potentially in the cache / userData folder of electron, or some of other writable place.
  • OPTION 2: Copy the default or select plugins to the cache / userData folder on startup.
  • OPTION 3: Package the downloaded file during windows install. This means the installation size is even larger, which would not be ideal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant