mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-07-07 06:29:49 +00:00
Gitlab CI Testing
This commit is contained in:
parent
b3bda31e04
commit
75786c98e3
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ module.exports = {
|
||||||
case "darwin": {
|
case "darwin": {
|
||||||
let artifactName = `${APPLICATION_TITLE}.dmg`;
|
let artifactName = `${APPLICATION_TITLE}.dmg`;
|
||||||
if (fs.existsSync(`./out/make/${artifactName}`)) {
|
if (fs.existsSync(`./out/make/${artifactName}`)) {
|
||||||
fs.renameSync(`./out/make/${artifactName}`, `./out/make/${APPLICATION_NAME}-${e.packageJSON.version}-macOS-${e.arch}.dmg`);
|
fs.mkdirSync(`./out/make/dmg/${e.arch}`, { recursive: true });
|
||||||
|
fs.renameSync(`./out/make/${artifactName}`, `./out/make/dmg/${e.arch}/${APPLICATION_NAME}-${e.packageJSON.version}-macOS-${e.arch}.dmg`);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Making a zip distributable for ${e.platform}/${e.arch}`);
|
console.log(`Making a zip distributable for ${e.platform}/${e.arch}`);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue