refactor: remove operations that are no longer used under Remote Env

This commit is contained in:
Levi Yan
2025-06-11 13:36:08 +08:00
parent 35bd842979
commit 3ed039b62c
3 changed files with 33 additions and 152 deletions

View File

@@ -106,18 +106,6 @@ export class DevStarExtension {
this.registerGlobalCommands(context);
if (vscode.env.remoteName === undefined) {
// 本地环境存储localSystemName, localSSHConfigPath以备远程环境使用
const localSSHConfigPath = utils.getLocalSSHConfigPath(context)
if (localSSHConfigPath === undefined || localSSHConfigPath === "") {
utils.updateLocalSSHConfigPath(context)
}
const localSystemName = utils.getLocalSystemName(context)
if (localSystemName === undefined || localSystemName === "") {
utils.updateLocalSystemName(context)
}
}
this.startDevStarHome();
}