From f0fd5722a86f1644edfd73f60c766a9da96b71d5 Mon Sep 17 00:00:00 2001 From: qwertyforce Date: Sat, 1 Jul 2023 21:37:36 +0300 Subject: [PATCH] Update bootstrap.js --- bootstrap/bootstrap.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap/bootstrap.js b/bootstrap/bootstrap.js index 95372ca..9b9bfe0 100644 --- a/bootstrap/bootstrap.js +++ b/bootstrap/bootstrap.js @@ -9,4 +9,8 @@ for (const dir of dirs) { if (!fs.existsSync(dir_path)) { fs.mkdirSync(dir_path); } +} + +if (process.platform !== 'win32'){ + fs.chmodSync(`${root_path}/src/bin/oxipng`, "755") } \ No newline at end of file