🐛 修复构建异常

This commit is contained in:
BTMuli
2026-01-18 20:49:07 +08:00
parent b8ff71d71c
commit 9b48df759a
2 changed files with 3 additions and 4 deletions

View File

@@ -47,9 +47,9 @@ jobs:
run: ssh -T git@github.com || true
- name: Load env.production
id: env
if: matrix.settings.target == 'windows'
run: |
VITE_SENTRY_RELEASE=$(awk -F= '/^VITE_SENTRY_RELEASE=/ {print $2}' .env.production)
echo "VITE_SENTRY_RELEASE=$VITE_SENTRY_RELEASE" >> $GITHUB_ENV
$VITE_SENTRY_RELEASE = Get-Content .env.production | Where-Object { $_ -match '^VITE_SENTRY_RELEASE=' } | ForEach-Object { ($_ -split '=')[1] }
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Rust cache

View File

@@ -1,7 +1,6 @@
{
"$schema": "https://schema.tauri.app/config/2",
"bundle": {
"targets": ["app", "dmg"],
"macOs": {}
"targets": ["app", "dmg"]
}
}