|
|
|
@ -153,7 +153,7 @@ export class RemixAppManager extends PluginManager { |
|
|
|
|
if (Registry.getInstance().get('platform').api.isDesktop()) { |
|
|
|
|
requiredModules = [...requiredModules, 'fs', 'electronTemplates', 'isogit', 'remix-templates', 'electronconfig', 'xterm', 'compilerloader', 'ripgrep'] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async canActivatePlugin(from, to) { |
|
|
|
@ -331,6 +331,17 @@ export class RemixAppManager extends PluginManager { |
|
|
|
|
sticky: true, |
|
|
|
|
group: 7 |
|
|
|
|
}) |
|
|
|
|
await this.call('filePanel', 'registerContextMenuItem', { |
|
|
|
|
id: 'vyper', |
|
|
|
|
name: 'vyperCompileCustomAction', |
|
|
|
|
label: 'Compile vyper', |
|
|
|
|
type: [], |
|
|
|
|
extension: ['.vy'], |
|
|
|
|
path: [], |
|
|
|
|
pattern: [], |
|
|
|
|
sticky: true, |
|
|
|
|
group: 7 |
|
|
|
|
}) |
|
|
|
|
if (Registry.getInstance().get('platform').api.isDesktop()) { |
|
|
|
|
await this.call('filePanel', 'registerContextMenuItem', { |
|
|
|
|
id: 'fs', |
|
|
|
|