feat(firstOpenProject): be based on os and shell version to provide different commands that open project in remote env

This commit is contained in:
Levi Yan
2025-06-16 23:05:01 +08:00
parent b36feb764b
commit f0973280f4
5 changed files with 48 additions and 7 deletions

View File

@@ -71,7 +71,7 @@ export default class DSHome {
}
case 'firstOpenRemoteFolder':
// data.host - project name
await this.remoteContainer.firstOpenProject(data.host, data.hostname, data.port, data.username, data.path)
await this.remoteContainer.firstOpenProject(data.host, data.hostname, data.port, data.username, data.path, this.context)
break;
case 'openRemoteFolder':
this.remoteContainer.openRemoteFolder(data.host, data.port, data.username, data.path);