Skip to content

Commit e88d3dd

Browse files
committed
fix(ci): windows script
1 parent 18a01cc commit e88d3dd

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed
File renamed without changes.

.github/workflows/quickstart-windows.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
echo "Downloading ffmpeg ..."
4141
Invoke-WebRequest https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-7.0.2-essentials_build.7z -OutFile C:/tmp_files/ffmpeg.7z
4242
echo "Appreciate the contribution of gyan.dev"
43-
44-
7z x C:/tmp_files/ffmpeg.zip -r -oC:/generated_files/ffmpeg
43+
44+
7z x C:/tmp_files/ffmpeg.7z -r -oC:/generated_files/ffmpeg
4545
4646
echo "Downloading Python3.11 ..."
4747
Invoke-WebRequest https://www.python.org/ftp/python/3.11.2/python-3.11.2-embed-amd64.zip -OutFile C:/tmp_files/python.zip
@@ -55,16 +55,12 @@ jobs:
5555
mv D:\a\chatgpt-mirai-qq-bot\chatgpt-mirai-qq-bot\.github\quickstarts\windows\ C:/generated_files/files/
5656
5757
echo "Replacing..."
58+
dir C:/generated_files/files/scripts/
59+
5860
cp C:/generated_files/files/scripts/初始化.cmd C:/generated_files/
5961
60-
Invoke-WebRequest -URI https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.mxe-cross-win64.7z -O C:/tmp_files/wkhtmltox.7z
61-
6262
echo "Downloading vc_redist.exe..."
63-
Invoke-WebRequest -URI https://aka.ms/vs/17/release/vc_redist.x64.exe -O "C:\generated_files\【语音功能依赖】vc_redist.x64.exe"
64-
65-
echo "Setting up wkhtmltox"
66-
7z x C:/tmp_files/wkhtmltox.7z -oC:/tmp_files/
67-
cp C:/tmp_files/wkhtmltox/bin/wkhtmltoimage.exe C:\generated_files\kirara_ai\
63+
Invoke-WebRequest -URI https://aka.ms/vs/17/release/vc_redist.x64.exe -OutFile "C:\generated_files\【语音功能依赖】vc_redist.x64.exe"
6864
6965
echo "Downloading packages..."
7066
cd C:/generated_files/kirara_ai

0 commit comments

Comments
 (0)