Skip to content

Win 适配 dbghelp.dll #48

Win 适配 dbghelp.dll

Win 适配 dbghelp.dll #48

Workflow file for this run

name: Install and Test LL on Windows
on:
push:
paths:
- 'install_windows.py'
workflow_dispatch:
jobs:
install_and_test:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download and Install QQ Software
run: |
# Download QQ software
Invoke-WebRequest -Uri 'https://dldir1.qq.com/qqfile/qq/QQNT/897bf087/QQ9.9.7.21484_x64.exe' -OutFile QQInstaller.exe
# Install QQ silently
Start-Process -FilePath QQInstaller.exe -ArgumentList '/S' -Wait
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # 指定 Python 3 版本
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
pip install rich
- name: Install pyinstaller
run: |
python -m pip install pyinstaller
- name: Build install_windows.exe
run: |
pyinstaller --onefile install_windows.py
- name: Upload install_windows.exe
uses: actions/upload-artifact@v4
with:
name: install_windows
path: dist/install_windows.exe
- name: Run install_windows.exe
run: |
.\dist\install_windows.exe
- name: Run QQ with logging
run: |
start "C:\Program Files\Tencent\QQNT\QQ" --enable-logging
- name: Check if LiteLoader plugins folder exists
run: |
if (Test-Path "C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins") {
Write-Host "LiteLoader plugins folder found. Test passed."
} else {
Write-Host "LiteLoader plugins folder not found. Test failed."
exit 1
}
- name: Check if LiteLoader plugin manifest.json exists
run: |
if (Test-Path "C:\Program Files\Tencent\QQNT\resources\app\LiteLoaderQQNT-main\plugins\pluginStore\manifest.json") {
Write-Host "LiteLoader plugin manifest.json found. Test passed."
} else {
Write-Host "LiteLoader plugin manifest.json not found. Test failed."
exit 1
}