RuneStone 1.0.0
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { packager } from '@electron/packager';
|
||||
import { dirname, resolve } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { packageTarget } from './package-target.mjs';
|
||||
const project = resolve(dirname(fileURLToPath(import.meta.url)), '..');
|
||||
const target = packageTarget(process.argv.slice(2));
|
||||
const outputs = await packager({
|
||||
dir: project, name: 'RuneStone-Browser', out: resolve(project, 'dist'), overwrite: true,
|
||||
...target,
|
||||
ignore: [/^\/(test|scripts|output|plugin|releases|\.github)(\/|$)/, /^\/src\/(ui\/|host\.mjs|main\.mjs|preload\.cjs)/],
|
||||
});
|
||||
for (const output of outputs) console.log(output);
|
||||
Reference in New Issue
Block a user