Добавлены цели для сборки релиза macos
This commit is contained in:
@@ -12,7 +12,7 @@ const publicDir = `${tmpDir}/public`;
|
||||
const outDir = `${distDir}/${platform}`;
|
||||
|
||||
async function build() {
|
||||
if (platform != 'linux' && platform != 'win')
|
||||
if (platform != 'linux' && platform != 'win' && platform != 'macos')
|
||||
throw new Error(`Unknown platform: ${platform}`);
|
||||
|
||||
await fs.emptyDir(outDir);
|
||||
|
||||
@@ -22,6 +22,7 @@ async function main() {
|
||||
await fs.emptyDir(outDir);
|
||||
await makeRelease('win');
|
||||
await makeRelease('linux');
|
||||
await makeRelease('macos');
|
||||
} catch(e) {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user