Skip to content

Commit

Permalink
fix wget path in macos
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed May 4, 2024
1 parent a92d27f commit 1e911a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pre_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if (platform == 'windows') {
if (platform == 'macos') {
// Setup FFMPEG
if (!(await fs.exists(config.ffmpegRealname))) {
await $`C:\\msys64\\usr\\bin\\wget.exe -nc --show-progress ${config.macos.ffmpegUrl} -O ${config.macos.ffmpegName}.tar.xz`
await $`wget -nc --show-progress ${config.macos.ffmpegUrl} -O ${config.macos.ffmpegName}.tar.xz`
await $`tar xf ${config.macos.ffmpegName}.tar.xz`
await $`mv ${config.macos.ffmpegName} ${config.ffmpegRealname}`
await $`rm ${config.macos.ffmpegName}.tar.xz`
Expand Down

0 comments on commit 1e911a1

Please sign in to comment.