Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit efcf8ea

Browse files
author
HarshKhandeparkar
committed
fix: more wix config
1 parent b0104d7 commit efcf8ea

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

forge.config.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const { name, description, productName } = require('./package.json');
2+
13
module.exports = {
24
packagerConfig: {
35
ignore: [
@@ -7,13 +9,17 @@ module.exports = {
79
'^[\/]?forge.config.js',
810
'^[\/]?public\/(?!electron.js)[a-zA-Z\/\.\\\-]*'
911
],
10-
executableName: 'rainbow-board'
12+
executableName: name
1113
},
1214
makers: [
1315
{
1416
name: '@electron-forge/maker-wix',
1517
config: {
16-
manufacturer: 'Harsh Khandeparkar'
18+
manufacturer: 'Harsh Khandeparkar',
19+
name: productName,
20+
shortName: productName.replace(' ', ''),
21+
description,
22+
iconPath: 'public/favicon.ico'
1723
}
1824
},
1925
{
@@ -26,8 +32,8 @@ module.exports = {
2632
maintainer: 'Harsh Khandeparkar',
2733
homepage: 'https://harshkhandeparkar.github.io/rainbow-board',
2834
icon: 'public/logo512.png',
29-
name: 'rainbow-board',
30-
productName: 'Rainbow Board',
35+
name,
36+
productName,
3137
genericName: 'Whiteboard',
3238
categories: ['Education', 'Utility']
3339
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "rainbow-board",
3+
"productName": "Rainbow Board",
34
"description": "Cross-platform Whiteboard app made using React, Electron, GPU.js and GPU.js Real Renderer!",
45
"version": "0.1.4",
56
"main": "public/electron.js",

0 commit comments

Comments
 (0)