7 Commits

Author SHA1 Message Date
小鱼开发 9f3ea6dece fix(ci): add missing sidecar download step for Windows build
- Windows job was missing Download sidecar binaries step, causing
  'ffmpeg-x86_64-pc-windows-msvc.exe doesn't exist' build failure
- Remove duplicate sidecar download step from disabled macOS job
2026-05-20 12:34:16 +08:00
小鱼开发 837fbc997d fix: 移除未使用的 React 导入,修复 TS6133 编译错误 2026-05-20 12:23:37 +08:00
小鱼开发 b6311bec9d fix(ci): 改回 gh release download,当前仓库已有 sidecar release 2026-05-20 12:09:52 +08:00
小鱼开发 41e495f0f0 fix(ci): sidecar 下载改回当前仓库 release 2026-05-20 11:52:38 +08:00
小鱼开发 b98df5a1a4 fix(ci): 用 curl 直接下载 sidecar,绕过 gh CLI 跨仓库权限限制 2026-05-20 11:23:04 +08:00
小鱼开发 98c14582d4 temp: 禁用 updater 签名,绕过私钥缺失问题 2026-05-20 11:17:05 +08:00
小鱼开发 f7b57d9fd8 temp: 固定 sidecar 仓库 + 禁用 macOS 构建 2026-05-20 11:11:51 +08:00
11 changed files with 8 additions and 12 deletions
+3 -4
View File
@@ -23,7 +23,7 @@ on:
jobs:
build-macos:
name: Build macOS (Universal)
if: ${{ github.event_name == 'push' || inputs.platform == 'all' || inputs.platform == 'macos' }}
if: false # 临时禁用 macOS 构建,只构建 Windows
runs-on: macos-latest
steps:
- name: Checkout
@@ -57,7 +57,7 @@ jobs:
- name: Download sidecar binaries
run: |
mkdir -p tauri-app/src-tauri/binaries
gh release download v0.0.0-sidecar --repo ${{ github.repository }} --pattern "sidecar-binaries.tar.gz" --dir /tmp
curl -L -o /tmp/sidecar-binaries.tar.gz "https://github.com/fun0/meijiaka-zy/releases/download/v0.0.0-sidecar/sidecar-binaries.tar.gz"
tar xzf /tmp/sidecar-binaries.tar.gz -C tauri-app/src-tauri/binaries/
chmod +x tauri-app/src-tauri/binaries/ffmpeg-* tauri-app/src-tauri/binaries/ffprobe-*
# Create universal binary for macOS universal-apple-darwin target
@@ -72,8 +72,6 @@ jobs:
tauri-app/src-tauri/binaries/ffprobe-x86_64-apple-darwin \
-output tauri-app/src-tauri/binaries/ffprobe-universal-apple-darwin
fi
env:
GH_TOKEN: ${{ github.token }}
- name: Install dependencies
working-directory: tauri-app
@@ -144,6 +142,7 @@ jobs:
New-Item -ItemType Directory -Force -Path tauri-app/src-tauri/binaries
gh release download v0.0.0-sidecar --repo ${{ github.repository }} --pattern "sidecar-binaries.tar.gz" --dir $env:TEMP
tar xzf "$env:TEMP\sidecar-binaries.tar.gz" -C tauri-app/src-tauri/binaries/
Get-ChildItem tauri-app/src-tauri/binaries/
env:
GH_TOKEN: ${{ github.token }}
+1 -1
View File
@@ -49,7 +49,7 @@
},
"bundle": {
"active": true,
"createUpdaterArtifacts": true,
"createUpdaterArtifacts": false,
"targets": [
"nsis",
"dmg",
@@ -6,7 +6,6 @@
* 用于 ScriptCreation 等页面
*/
import React from 'react';
import './ShotStats.css';
export interface ShotStatsData {
-1
View File
@@ -1,4 +1,3 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import App from './App';
@@ -190,7 +190,6 @@
/* 生成按钮 */
.cover-generate-btn {
width: 100%;
height: 48px;
font-size: var(--font-md);
font-weight: 600;
margin-top: var(--spacing-md);
@@ -279,6 +279,7 @@
.btn-xs {
padding: var(--spacing-2xs) var(--spacing-xs);
font-size: var(--font-xs);
min-height: 28px;
}
@@ -1085,7 +1085,6 @@
.cover-generate-btn {
width: 100%;
height: 48px; /* Larger height as requested */
font-size: var(--font-md);
font-weight: 600;
margin-top: 4px;
@@ -1,4 +1,3 @@
import React from 'react';
interface AvatarMaterial {
id: string;
@@ -1,4 +1,3 @@
import React from 'react';
interface GenerationControlsProps {
composedVideoPath: string | null;
@@ -1,4 +1,3 @@
import React from 'react';
import type { ScriptShot } from '../../../types/project';
interface AvatarMaterial {
+3
View File
@@ -151,6 +151,7 @@ button {
font-weight: 500;
white-space: nowrap;
user-select: none;
min-height: 48px;
}
.btn-primary {
@@ -185,6 +186,7 @@ button {
background: transparent;
color: var(--text-secondary);
padding: var(--spacing-sm) var(--spacing-md);
min-height: 36px;
}
.btn-ghost:hover {
@@ -207,6 +209,7 @@ button {
padding: var(--spacing-xs) var(--spacing-md);
font-size: var(--font-sm);
border-radius: var(--radius-md);
min-height: 36px;
}
.btn-icon {