-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
34 lines (17 loc) · 730 Bytes
/
Copy pathindex.js
File metadata and controls
34 lines (17 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import Plugin from '../../../src/core/Plugin'
// import Plugin from 'hurry-plugin-definition'
import PluginInstallerView from './PluginInstallerView.jsx'
export default class PluginInstaller extends Plugin{
constructor(api, context){
super(api, context)
api.store.uiState.addView('PluginInstallerView', PluginInstallerView(api));
setTimeout(_=>{api.store.uiState.setCurrentView("PluginInstallerView")},2000);
api.menu.insertMenuItem('File',{label: "&Install Plugin", click: () => api.store.uiState.showModal('PluginInstallerView')}, {after: 'Settings'});
}
getPluginsAvailable(){
}
downloadPlugin(pluginName){
}
installPlugin(tgzPath){
}
}