bump action versions add token reference for electron build add release workflow add links for windows replacements add helper for github build workflow align asset names with build artifact names produce zip artifacts from electron build change artifact name to KiriMoto and add array build target add mac app signing add electron app icons add links.csv helper add dryrun cache build and integration into electron app for faster startup allow windows install alt location. suppress gdpr on localhost / built apps
16 lines
400 B
JavaScript
16 lines
400 B
JavaScript
const fs = require('fs-extra');
|
|
const path = require('path');
|
|
const server = require('@gridspace/app-server');
|
|
|
|
// deref src and web for windows
|
|
const srcTmp = path.join('tmp','src');
|
|
fs.copySync("src", srcTmp, { dereference: true });
|
|
|
|
const webTmp = path.join('tmp','web');
|
|
fs.copySync("web", webTmp, { dereference: true });
|
|
|
|
// pre-build asset cache
|
|
server({
|
|
dryrun: true,
|
|
single: true
|
|
});
|