Skip to content

Windows: Omnisharp plugin requires administrator permissions to download #1

@bryphe

Description

@bryphe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions