mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Fix app build script on macOS
This commit is contained in:
@@ -74,7 +74,7 @@ const spawnOptions = {
|
|||||||
* build directories, just in case.
|
* build directories, just in case.
|
||||||
*/
|
*/
|
||||||
fs.removeSync(BUILD_PATH);
|
fs.removeSync(BUILD_PATH);
|
||||||
fs.removeSync(paths.DIST_PATH);
|
fs.removeSync(paths.DIST_PATH, { recursive: true });
|
||||||
fs.ensureDirSync(BUILD_PATH);
|
fs.ensureDirSync(BUILD_PATH);
|
||||||
fs.ensureDirSync(paths.DIST_PATH, { recursive: true });
|
fs.ensureDirSync(paths.DIST_PATH, { recursive: true });
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ NODE_PATH="${modulesDir}" node $(dirname $0)/src/main.js --__name $(basename $0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Remove build directory
|
// Remove build directory
|
||||||
//fs.removeSync(BUILD_PATH);
|
fs.removeSync(BUILD_PATH);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user