mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-16 23:54:19 +08:00
init
This commit is contained in:
0
static/.gitkeep
Normal file
0
static/.gitkeep
Normal file
2
static/plugins/rubick-plugin-demo/.gitignore
vendored
Normal file
2
static/plugins/rubick-plugin-demo/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
.idea
|
||||
6
static/plugins/rubick-plugin-demo/index.html
Normal file
6
static/plugins/rubick-plugin-demo/index.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
hello world123123
|
||||
</body>
|
||||
</html>
|
||||
BIN
static/plugins/rubick-plugin-demo/logo.png
Normal file
BIN
static/plugins/rubick-plugin-demo/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
15
static/plugins/rubick-plugin-demo/plugin.json
Normal file
15
static/plugins/rubick-plugin-demo/plugin.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"pluginName": "测试插件",
|
||||
"description": "我的第一个 rubick 插件",
|
||||
"main": "index.html",
|
||||
"version": "0.0.1",
|
||||
"logo": "logo.png",
|
||||
"features": [
|
||||
{
|
||||
"code": "hello",
|
||||
"explain": "这是一个测试的插件",
|
||||
"cmds":["hello", "你好"]
|
||||
}
|
||||
],
|
||||
"preload": "preload.js"
|
||||
}
|
||||
6
static/plugins/rubick-plugin-demo/preload.js
Normal file
6
static/plugins/rubick-plugin-demo/preload.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const { readFileSync } = require('fs')
|
||||
|
||||
window.readConfig = function () {
|
||||
const data = '123123'
|
||||
return data
|
||||
}
|
||||
BIN
static/rocket-t.png
Normal file
BIN
static/rocket-t.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 494 B |
BIN
static/rocket.png
Normal file
BIN
static/rocket.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 857 B |
Reference in New Issue
Block a user