mirror of
https://github.com/voideditor/void
synced 2026-05-23 01:18:25 +00:00
Removed the fall back, restored the original code and commented it out
This commit is contained in:
parent
88dc32a43e
commit
0294cb3b98
1 changed files with 2 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ export async function getVSCodeServerConfig(): Promise<IServerConfig> {
|
|||
const customServerBinaryName = vscode.workspace.getConfiguration('remote.SSH.experimental').get<string>('serverBinaryName', '');
|
||||
|
||||
return {
|
||||
// version: vscode.version.replace('-insider', ''),
|
||||
commit: productJson.commit,
|
||||
quality: productJson.quality,
|
||||
release: productJson.release,
|
||||
|
|
@ -39,6 +40,6 @@ export async function getVSCodeServerConfig(): Promise<IServerConfig> {
|
|||
serverDataFolderName: productJson.serverDataFolderName,
|
||||
serverDownloadUrlTemplate: productJson.serverDownloadUrlTemplate,
|
||||
// Edited for Void
|
||||
version: productJson.voidVersion || vscode.version.replace('-insider', ''), // Try void version first, fallback to vscode version
|
||||
version: productJson.voidVersion
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue