feat/tauri-mobile #1

Merged
polv merged 17 commits from feat/tauri-mobile into main 2026-07-28 06:55:07 +00:00
3 changed files with 15 additions and 9 deletions
Showing only changes of commit f2f6c28989 - Show all commits

No files matched your search

+7 -2
View File
@@ -121,8 +121,13 @@ async function processOne(inPath) {
const args = [...common, ...videoArgs, outPath];
console.log(`Compressing: ${inPath} -> ${outPath}`);
await runFFmpeg(args);
console.log(`Finished: ${outPath}`);
try {
await runFFmpeg(args);
console.log(`Finished: ${outPath}`);
} catch (e) {
console.log(`Failed: ${outPath}`);
await fs.unlink(outPath);
}
}
async function runWithLimit(items, limit, fn) {
+6 -5
View File
@@ -20,11 +20,12 @@
},
"scripts": {
"dev": "tauri dev",
"browser": "concurrently 'pnpm:b:*'",
"b:server": "node server.js",
"b:vite": "vitepress dev docs --open",
"vite": "vitepress dev docs",
"build": "vitepress build docs",
"build": "tauri build",
"browser": "concurrently 'pnpm:browser:*'",
"browser:server": "node server.js",
"browser:vite": "vitepress dev docs --open",
"vite-dev": "vitepress dev docs",
"vite-build": "vitepress build docs",
"preview": "vitepress preview docs"
}
}
+2 -2
View File
@@ -6,8 +6,8 @@
"build": {
"frontendDist": "../docs/.vitepress/dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "pnpm vite",
"beforeBuildCommand": "pnpm build"
"beforeDevCommand": "pnpm vite-dev",
"beforeBuildCommand": "pnpm vite-build"
},
"app": {
"windows": [