From d2213dfc809216da8ce2ec8430a8dfcc42a26c02 Mon Sep 17 00:00:00 2001 From: h3ll0www0rld Date: Thu, 2 May 2024 16:19:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbuild.yaml=E9=94=99?= =?UTF-8?q?=E8=AF=AF=20&=20docs:=20=E5=AE=8C=E5=96=84README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + scripts/build.ps1 | 2 +- scripts/setup.ps1 | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 scripts/setup.ps1 diff --git a/README.md b/README.md index ad51583..33e2735 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ scoop install mpv ```shell ./ani-cli ``` +第一次运行是会下载`chromium` # 开发&构建 在项目根目录下先运行 diff --git a/scripts/build.ps1 b/scripts/build.ps1 index cd6285a..cb509e7 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -1,6 +1,6 @@ $env:PYPPETEER_CHROMIUM_REVISION='1263111' pip install -r requirements.txt -$filePath = "c:\hostedtoolcache\windows\python\3.11.9\x64\lib\site-packages\pyppeteerchromium_downloader.py" +$filePath = "c:\hostedtoolcache\windows\python\3.11.9\x64\lib\site-packages\pyppeteer\chromium_downloader.py" # 修改chromium镜像位置 $lineNumber = 29 $newLineContent = 'DOWNLOAD_HOST = "https://registry.npmmirror.com/-/binary"' diff --git a/scripts/setup.ps1 b/scripts/setup.ps1 deleted file mode 100644 index c65aa8f..0000000 --- a/scripts/setup.ps1 +++ /dev/null @@ -1 +0,0 @@ -$env:PYPPETEER_CHROMIUM_REVISION='1263111' \ No newline at end of file