mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-10 13:20:28 +08:00
🙈 不忽略public目录
This commit is contained in:
parent
c855fb470e
commit
afca4f2b5a
3
.gitignore
vendored
3
.gitignore
vendored
@ -24,6 +24,3 @@ pnpm-debug.log*
|
||||
|
||||
#Electron-builder output
|
||||
/dist_electron
|
||||
|
||||
/public/feature
|
||||
/public/runner
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rubick",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1-beta.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
2
public/feature/css/app.972d60c9.css
Normal file
2
public/feature/css/app.972d60c9.css
Normal file
File diff suppressed because one or more lines are too long
BIN
public/feature/favicon.ico
Normal file
BIN
public/feature/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
1
public/feature/index.html
Normal file
1
public/feature/index.html
Normal file
@ -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>
|
2
public/feature/js/app.81d45831.js
Normal file
2
public/feature/js/app.81d45831.js
Normal file
File diff suppressed because one or more lines are too long
1
public/feature/js/app.81d45831.js.map
Normal file
1
public/feature/js/app.81d45831.js.map
Normal file
File diff suppressed because one or more lines are too long
285
public/feature/js/chunk-vendors.ebb3d342.js
Normal file
285
public/feature/js/chunk-vendors.ebb3d342.js
Normal file
File diff suppressed because one or more lines are too long
1
public/feature/js/chunk-vendors.ebb3d342.js.map
Normal file
1
public/feature/js/chunk-vendors.ebb3d342.js.map
Normal file
File diff suppressed because one or more lines are too long
31
public/feature/package.json
Normal file
31
public/feature/package.json
Normal file
@ -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":[
|
||||
"偏好设置"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
13
public/feature/preload.js
Normal file
13
public/feature/preload.js
Normal file
@ -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);
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user