Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f3ea6dece | |||
| 837fbc997d | |||
| b6311bec9d | |||
| 41e495f0f0 | |||
| b98df5a1a4 | |||
| 98c14582d4 | |||
| f7b57d9fd8 |
@@ -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 }}
|
||||
|
||||
|
||||
@@ -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,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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user