From 4bf3f3a602dfb92f7a67b39942ac20d6f1ce4525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=81=B6?= <2424880409@qq.com> Date: Mon, 24 Jan 2022 15:26:00 +0800 Subject: [PATCH 1/4] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9b8c76e..2c72502 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ Based on electron open source toolbox, free integration of rich plug-ins, to cre ## Installation package * [Rubick Mac OS](https://github.com/rubickCenter/rubick/releases) * [Rubick Windows](https://github.com/rubickCenter/rubick/releases) +* [Rubick Linux](https://github.com/rubickCenter/rubick/releases) + ## Feature list - [x] Plug-in management based on npm package mode, installing plugins is as easy as installing npm packages. @@ -41,6 +43,8 @@ Based on electron open source toolbox, free integration of rich plug-ins, to cre - [x] Support searching for locally installed apps or preferences - [x] Support MacOS - [x] Support Windows +- [x] Support Linux + ## Docs From bcfc968c9d788ec0fd445c1b9f6335c993d1c34a Mon Sep 17 00:00:00 2001 From: gclm Date: Fri, 11 Feb 2022 14:41:47 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Emac=E6=89=93?= =?UTF-8?q?=E5=8C=85=E4=B8=BAdmg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 199794b..9c68d59 100644 --- a/vue.config.js +++ b/vue.config.js @@ -51,7 +51,10 @@ module.exports = { }, mac: { icon: "public/icons/icon.icns", - target: "pkg", + target: [ + "dmg", + "pkg" + ], extendInfo: { LSUIElement: 1, }, From 8a536374eaa410d2c7fcb659003ccd87b69d8355 Mon Sep 17 00:00:00 2001 From: gclm Date: Fri, 11 Feb 2022 15:15:40 +0800 Subject: [PATCH 3/4] =?UTF-8?q?feat:=20=E7=BB=99rubick=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E4=B8=80=E4=B8=AA=E4=B8=93=E9=97=A8=E7=9A=84=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/utils/getLocalDataFile.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common/utils/getLocalDataFile.ts b/src/common/utils/getLocalDataFile.ts index dadeba4..31a5bbf 100644 --- a/src/common/utils/getLocalDataFile.ts +++ b/src/common/utils/getLocalDataFile.ts @@ -1,7 +1,14 @@ +import path from "path"; +import fs from "fs"; + export default (): string => { let localDataFile: any = process.env.HOME; if (!localDataFile) { localDataFile = process.env.LOCALAPPDATA; } - return localDataFile; + const rubickPath = path.join(localDataFile, "rubick") + if (!fs.existsSync(rubickPath)) { + fs.mkdirSync(rubickPath); + } + return rubickPath; }; From ded16b9580bd7619684a821a0d7a501e51ac3301 Mon Sep 17 00:00:00 2001 From: renmu123 <1101022351@qq.com> Date: Thu, 17 Feb 2022 16:07:07 +0800 Subject: [PATCH 4/4] fix typo --- docs/docs/api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/api/README.md b/docs/docs/api/README.md index 419386f..316eb43 100644 --- a/docs/docs/api/README.md +++ b/docs/docs/api/README.md @@ -23,7 +23,7 @@ #### 示例 ```js -rubcik.onPluginReady(({ code, type, payload }) => { +rubick.onPluginReady(({ code, type, payload }) => { console.log('插件装配完成,已准备好') }) /*