feat: support first connect in remote environment

This commit is contained in:
Levi Yan
2025-05-06 23:05:00 +08:00
parent e4d9d2b3b7
commit 70fa291e37
3 changed files with 141 additions and 37 deletions

View File

@@ -69,7 +69,7 @@ export default class DSHome {
break;
}
case 'firstOpenRemoteFolder':
await this.remoteContainer.firstConnect(data.host, data.username, data.port)
await this.remoteContainer.firstConnect(data.host, data.username, data.port, this.context)
.then((_res) => {
if (_res == 'success') {
// only success then open folder