From a802e95d891e7d096cbb869a33b650ff8a4a7daf Mon Sep 17 00:00:00 2001 From: linyuchen Date: Fri, 1 Dec 2023 01:53:48 +0800 Subject: [PATCH] feat: auto copy manifest --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e21fa6..10924a8 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ "build-main": "webpack --config webpack.main.config.js", "build-preload": "webpack --config webpack.preload.config.js", "build-renderer": "webpack --config webpack.renderer.config.js", - "build-mac": "npm run build && npm run deploy-mac", + "build-mac": "npm run build && cp manifest.json dist/ && npm run deploy-mac", "deploy-mac": "cp dist/* ~/Library/Containers/com.tencent.qq/Data/Documents/LiteLoaderQQNT/plugins/LLOnebot/", - "build-win": "npm run build && npm run deploy-win", + "build-win": "npm run build && cp manifest.json dist/ && npm run deploy-win", "deploy-win": "cmd /c \"copy dist\\* %USERPROFILE%\\documents\\LiteLoaderQQNT\\plugins\\LLOnebot\\\"" }, "author": "",