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

Download language server from enterprise portal in enterprise mode. #26

Merged
merged 5 commits into from
Dec 15, 2023

Conversation

fortenforge
Copy link
Collaborator

Also bump LS version to 1.6.10

@thedemons
Copy link
Contributor

We also need to delete and re-download the language server when the user switches to enterprise mode:

public async Task PrepareAsync()
{
    string binaryPath = Package.GetLanguageServerPath();
    if (File.Exists(binaryPath))
    {
        await StartAsync();
        return;
    }

One easy way is to modify the GetLanguageServerPath() function to return "language_server_enterprise_windows_x64.exe" or something similar when in enterprise mode.

@fortenforge fortenforge force-pushed the rahul/support-airgapped-mode branch from b857772 to e38b9e6 Compare December 15, 2023 03:35
@fortenforge fortenforge merged commit 1b846dc into main Dec 15, 2023
1 check passed
@fortenforge fortenforge deleted the rahul/support-airgapped-mode branch December 15, 2023 04:23
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.

3 participants