From 59cf18f2f2fea3c1ae42bcd5718a06c2f4739af6 Mon Sep 17 00:00:00 2001 From: xyf-mac Date: Mon, 8 Nov 2021 11:24:48 +0800 Subject: [PATCH] update --- .github/workflows/main.yml | 18 +++++++----------- README.md | 12 ++++++++++++ source/package.json | 8 ++++---- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f6b80a4..905ca1b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI -# Controls when the action will run. +# Controls when the action will run. on: # Triggers the workflow on push or pull request events but only for the master branch push: @@ -25,26 +25,22 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - # Runs a single command using the runners shell - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script run: | - echo Add other actions to build, - echo test, and deploy your project. + cd ./source + npm run build + - name: webext-buildtools-chrome-crx-action # You may pin to the exact commit or the version. # uses: cardinalby/webext-buildtools-chrome-crx-action@6ffc20d012116ea3fa0c6697382b026fc7df9535 uses: cardinalby/webext-buildtools-chrome-crx-action@2.0.0 with: # Path to WebExtension directory - zipFilePath: 1 + zipFilePath: "./" # Path to save result crx file - crxFilePath: 1 + crxFilePath: "./" # Contents of private key used to sign crx file - privateKey: 1 + privateKey: "./key.pem" # Path to save update.xml file for extensions hosted not on Chrome Web Store. This xml is used as response at url, specified in manifest's `update_url` key file updateXmlPath:1 # optional # Required, if you specified updateXmlPath. URL to the .crx file diff --git a/README.md b/README.md index 2e93077..6ea7b83 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,15 @@ inject在development模式下无法正常使用,暂时的解决办法,注释 webpackConfig.plugin('extension-reloader').use(ExtensionReloader, [{ entries, ...extensionReloaderOptions }]) ``` 详细原因参考:[issues](https://github.com/adambullmer/vue-cli-plugin-browser-extension/issues/120) + +# 后续工作 + +popup界面增加联系方式。 + +开发一个独立的electron桌面版本,使用socket调试app,解决排查app问题的痛点。 +防止别人篡改,必须混淆代码,增加修改难度,暂时不做加密。 + +适配插件版本(不紧急) + + + diff --git a/source/package.json b/source/package.json index 13f49d4..8729d5f 100644 --- a/source/package.json +++ b/source/package.json @@ -1,6 +1,6 @@ { "name": "app", - "version": "0.1.1", + "version": "0.2.0", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -9,9 +9,6 @@ "build-watch": "vue-cli-service build --watch" }, "dependencies": { - "@types/kind-of": "^6.0.0", - "@types/lodash": "^4.14.176", - "babel-eslint": "^10.1.0", "core-js": "^3.6.5", "element-ui": "^2.15.1", "fs-extra": "^9.1.0", @@ -24,6 +21,9 @@ "vue-property-decorator": "^9.1.2" }, "devDependencies": { + "@types/kind-of": "^6.0.0", + "@types/lodash": "^4.14.176", + "babel-eslint": "^10.1.0", "@types/fs-extra": "^9.0.9", "@types/node": "^14.14.37", "@types/uuid": "^8.3.1",