mirror of
https://github.com/voideditor/void
synced 2026-05-22 17:08:25 +00:00
Fixed serverConfig.ts to pull voidVersion instead of version
This commit is contained in:
parent
885ebc8528
commit
499abdf26c
1 changed files with 3 additions and 2 deletions
|
|
@ -32,12 +32,13 @@ 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,
|
||||
serverApplicationName: customServerBinaryName || productJson.serverApplicationName,
|
||||
serverDataFolderName: productJson.serverDataFolderName,
|
||||
serverDownloadUrlTemplate: productJson.serverDownloadUrlTemplate
|
||||
serverDownloadUrlTemplate: productJson.serverDownloadUrlTemplate,
|
||||
// Edited for Void
|
||||
version: productJson.voidVersion || vscode.version.replace('-insider', ''), // Try void version first, fallback to vscode version
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue