From 7629a9e68b73718db8755558170ad1f00891fca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=88=90=E9=94=B4?= Date: Thu, 16 Jun 2022 17:29:30 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=9B=B4=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "docs/\346\233\264\345\244\232/api.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/docs/\346\233\264\345\244\232/api.md" "b/docs/\346\233\264\345\244\232/api.md" index 1382175..21743d9 100644 --- "a/docs/\346\233\264\345\244\232/api.md" +++ "b/docs/\346\233\264\345\244\232/api.md" @@ -61,14 +61,14 @@ pnpm build # 进入 web 渲染进程 cd packages/web # 运行 vue 项目 -npm run dev +pnpm run dev ``` ```sh # 进入 app 主进程 cd packages/app # 运行 electron 软件 -npm run dev +pnpm run dev ``` ## 软件打包 From 32f28b6b128b38d1eac0956e839941a9187f8e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=88=90=E9=94=B4?= Date: Thu, 16 Jun 2022 19:13:24 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "docs/\346\233\264\345\244\232/api.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/docs/\346\233\264\345\244\232/api.md" "b/docs/\346\233\264\345\244\232/api.md" index 21743d9..7686e28 100644 --- "a/docs/\346\233\264\345\244\232/api.md" +++ "b/docs/\346\233\264\345\244\232/api.md" @@ -85,7 +85,7 @@ pnpm build:core ## 本地调试 -在本地浏览器安装油猴,并且 `@require ` 引用本地打包好的文件,即可本地调试。 +在本地浏览器安装油猴,首先在 `chrome://extensions` 页面,把油猴的 `允许访问文件网址` 勾上。并且 `@require ` 引用本地打包好的文件,即可本地调试。 [油猴 API](https://www.tampermonkey.net/documentation.php) From 728d76b7b0b9446b14c933e57622453efa0f2428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=88=90=E9=94=B4?= Date: Thu, 16 Jun 2022 19:54:02 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=B0=83=E8=AF=95js=E6=96=87=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "docs/\346\233\264\345\244\232/api.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/docs/\346\233\264\345\244\232/api.md" "b/docs/\346\233\264\345\244\232/api.md" index 7686e28..ff35249 100644 --- "a/docs/\346\233\264\345\244\232/api.md" +++ "b/docs/\346\233\264\345\244\232/api.md" @@ -90,7 +90,7 @@ pnpm build:core [油猴 API](https://www.tampermonkey.net/documentation.php) ```js -// @require file://E:\xxx\xxx\ocs\dist\index.min.js +// @require file://E:\xxx\xxx\ocs\dist\ocs.user.js // @resource OCS_STYLE file://E:\xxx\xxx\ocs\dist\style.css ```