mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
build: improve artifact naming for clarity
This commit is contained in:
@@ -17,6 +17,7 @@ const packageDirPath = path.join(root, 'dist_electron', 'bundled');
|
|||||||
const frappeBooksConfig = {
|
const frappeBooksConfig = {
|
||||||
productName: 'Frappe Books',
|
productName: 'Frappe Books',
|
||||||
appId: 'io.frappe.books',
|
appId: 'io.frappe.books',
|
||||||
|
artifactName: '${productName}-v${version}-${os}-${arch}.${ext}',
|
||||||
asarUnpack: '**/*.node',
|
asarUnpack: '**/*.node',
|
||||||
extraResources: [
|
extraResources: [
|
||||||
{ from: 'log_creds.txt', to: '../creds/log_creds.txt' },
|
{ from: 'log_creds.txt', to: '../creds/log_creds.txt' },
|
||||||
@@ -31,6 +32,7 @@ const frappeBooksConfig = {
|
|||||||
},
|
},
|
||||||
mac: {
|
mac: {
|
||||||
type: 'distribution',
|
type: 'distribution',
|
||||||
|
artifactName: '${productName}-v${version}-mac-${arch}.${ext}',
|
||||||
category: 'public.app-category.finance',
|
category: 'public.app-category.finance',
|
||||||
icon: 'build/icon.icns',
|
icon: 'build/icon.icns',
|
||||||
notarize: {
|
notarize: {
|
||||||
@@ -45,6 +47,7 @@ const frappeBooksConfig = {
|
|||||||
},
|
},
|
||||||
win: {
|
win: {
|
||||||
publisherName: 'Frappe Technologies Pvt. Ltd.',
|
publisherName: 'Frappe Technologies Pvt. Ltd.',
|
||||||
|
artifactName: '${productName}-v${version}-windows-${arch}-installer.${ext}',
|
||||||
signDlls: true,
|
signDlls: true,
|
||||||
icon: 'build/icon.ico',
|
icon: 'build/icon.ico',
|
||||||
publish: ['github'],
|
publish: ['github'],
|
||||||
@@ -56,6 +59,8 @@ const frappeBooksConfig = {
|
|||||||
{
|
{
|
||||||
target: 'portable',
|
target: 'portable',
|
||||||
arch: ['x64', 'ia32'],
|
arch: ['x64', 'ia32'],
|
||||||
|
artifactName:
|
||||||
|
'${productName}-v${version}-windows-${arch}-portable.${ext}',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -69,6 +74,7 @@ const frappeBooksConfig = {
|
|||||||
},
|
},
|
||||||
linux: {
|
linux: {
|
||||||
icon: 'build/icons',
|
icon: 'build/icons',
|
||||||
|
artifactName: '${productName}-v${version}-linux-${arch}-${ext}',
|
||||||
category: 'Finance',
|
category: 'Finance',
|
||||||
publish: ['github'],
|
publish: ['github'],
|
||||||
target: [
|
target: [
|
||||||
|
|||||||
Reference in New Issue
Block a user