-
-
Notifications
You must be signed in to change notification settings - Fork 856
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
337 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,3 @@ pnpm-debug.log* | |
|
||
#Electron-builder output | ||
/dist_electron | ||
|
||
/public/feature | ||
/public/runner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>feature</title><link href="css/app.972d60c9.css" rel="preload" as="style"><link href="js/app.81d45831.js" rel="preload" as="script"><link href="js/chunk-vendors.ebb3d342.js" rel="preload" as="script"><link href="css/app.972d60c9.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but feature doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.ebb3d342.js"></script><script src="js/app.81d45831.js"></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "rubick-system-feature", | ||
"pluginName": "rubick 系统菜单", | ||
"description": "rubick 系统菜单", | ||
"main": "index.html", | ||
"logo": "https://static.91jkys.com/upload/202112/08/8a1abbb051bf4b05bbc9bbf66ade63f2.png", | ||
"version": "0.0.0", | ||
"preload":"preload.js", | ||
"pluginType": "ui", | ||
"features": [ | ||
{ | ||
"code": "market", | ||
"explain": "rubick 插件市场", | ||
"cmds":[ | ||
"插件市场" | ||
] | ||
},{ | ||
"code": "plugins", | ||
"explain": "rubick 已安装插件", | ||
"cmds":[ | ||
"已安装插件" | ||
] | ||
},{ | ||
"code": "settings", | ||
"explain": "rubick 偏好设置", | ||
"cmds":[ | ||
"偏好设置" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const {remote} = require("electron"); | ||
|
||
window.market = { | ||
getLocalPlugins() { | ||
return remote.getGlobal("LOCAL_PLUGINS").getLocalPlugins(); | ||
}, | ||
downloadPlugin(plugin) { | ||
return remote.getGlobal("LOCAL_PLUGINS").downloadPlugin(plugin); | ||
}, | ||
deletePlugin(plugin) { | ||
return remote.getGlobal("LOCAL_PLUGINS").deletePlugin(plugin); | ||
}, | ||
} |