|
|
|
@ -40,7 +40,7 @@ export class RemixdHandle extends WebsocketPlugin { |
|
|
|
|
deactivate () { |
|
|
|
|
this.fileSystemExplorer.hide() |
|
|
|
|
if (super.socket) super.deactivate() |
|
|
|
|
this.appManager.ensureDeactivated('git') |
|
|
|
|
this.call('manager', 'deactivatePlugin', 'git') |
|
|
|
|
this.locahostProvider.close((error) => { |
|
|
|
|
if (error) console.log(error) |
|
|
|
|
}) |
|
|
|
@ -52,8 +52,8 @@ export class RemixdHandle extends WebsocketPlugin { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async canceled () { |
|
|
|
|
this.appManager.ensureDeactivated('remixd') |
|
|
|
|
this.appManager.ensureDeactivated('git') |
|
|
|
|
this.call('manager', 'deactivatePlugin', 'remixd') |
|
|
|
|
this.call('manager', 'deactivatePlugin', 'git') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -84,7 +84,7 @@ export class RemixdHandle extends WebsocketPlugin { |
|
|
|
|
} |
|
|
|
|
}, 3000) |
|
|
|
|
this.locahostProvider.init(_ => this.fileSystemExplorer.ensureRoot()) |
|
|
|
|
this.appManager.ensureActivated('git') |
|
|
|
|
this.call('manager', 'activatePlugin', 'git')
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (this.locahostProvider.isConnected()) { |
|
|
|
|