File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import * as path from "node:path";
5
5
import { fileURLToPath } from "node:url" ;
6
6
import { exec as execCb , execSync } from "node:child_process" ;
7
7
import { promisify } from "node:util" ;
8
- import { platform } from "node:os" ;
9
8
10
9
const exec = promisify ( execCb ) ;
11
10
@@ -67,8 +66,8 @@ async function prepareFfmpegSidecar() {
67
66
// Skip downloading if the archive already exists
68
67
if ( ! ( await exists ( ffmpegDownloadPath ) ) ) {
69
68
if ( await exists ( ffmpegUnzippedPath ) ) return ;
70
- console . log ( "Downloading ffmpeg archive..." ) ;
71
- console . log ( `ffmpeg from: ${ binaries . url } ` ) ;
69
+ console . log ( `Couldn't locate "ffmpeg-download.zip" in " ${ ffmpegDownloadPath } "` ) ;
70
+ console . log ( `Downloading from: ${ binaries . url } ` ) ;
72
71
await fs . mkdir ( binariesDir , { recursive : true } ) ;
73
72
74
73
const response = await fetch ( binaries . url ) ;
@@ -243,6 +242,8 @@ async function main() {
243
242
}
244
243
245
244
main ( ) . catch ( ( err ) => {
246
- console . error ( "Error during sidecar preparation:" , err ) ;
245
+ console . error ( "--- Preparation Failed" ) ;
246
+ console . error ( err ) ;
247
+ console . error ( "---" ) ;
247
248
process . exit ( 1 ) ;
248
249
} ) ;
Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ impl ShowCapWindow {
144
144
. resizable ( false )
145
145
. maximized ( false )
146
146
. maximizable ( false )
147
- . maximized ( false )
148
147
. build ( ) ?,
149
148
Self :: Settings { page } => self
150
149
. window_builder (
You can’t perform that action at this time.
0 commit comments