Skip to content

Commit

Permalink
Update makefsdata.js for M1 Mac (OpenStickCommunity#25)
Browse files Browse the repository at this point in the history
Update makefsdata.js
  • Loading branch information
TheTrainGoes authored Mar 5, 2023
1 parent f5525ec commit 57ef76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefsdata.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function correctincludes() {
}

function makefsdata() {
exec(path.normalize(`${root}/tools/makefsdata`), [path.normalize(`${rootwww}/build`), '-defl:1', '-xc:png,ico,json', `-f:`+ path.normalize(`${root}/lib/httpd/fsdata.c`)], function(error, data) {
exec(path.normalize(process.platform !== "darwin" ? `${root}/tools/makefsdata` : `${root}/tools/makefsdata.darwin`), [path.normalize(`${rootwww}/build`), '-defl:1', '-xc:png,ico,json', `-f:`+ path.normalize(`${root}/lib/httpd/fsdata.c`)], function(error, data) {
if (error) {
console.error(error);
} else {
Expand Down

0 comments on commit 57ef76d

Please sign in to comment.