Skip to content

Commit

Permalink
Merge pull request #69 from aninda052/main
Browse files Browse the repository at this point in the history
Modify `init-directories` script for supporting MacOs
  • Loading branch information
foyzulkarim authored Aug 10, 2023
2 parents 4b4b025 + 7e489a8 commit 56e0a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/scripts/shell-script.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ var opsys = process.platform;

if (opsys == "win32" || opsys == "win64") {
await $`mkdir uploads/hls, uploads/processed, uploads/videos, uploads/thumbnails`
} else if (opsys == "linux") {
} else if (opsys == "linux" || opsys == "darwin") {
await $`mkdir -p uploads/hls uploads/processed uploads/videos uploads/thumbnails`
}

0 comments on commit 56e0a52

Please sign in to comment.