Skip to content

Commit 637c9e9

Browse files
MaxWeisenJIB3377mhmaidi789dieunity
committed
Working on a linux build and adjusting options
Co-authored-by: Justin Baik <bij3377@gmail.com> Co-authored-by: Max Weisenberger <germanbluemax@gmail.com> Co-authored-by: Mo Hmaidi <mhmaidi789@gmail.com> Co-authored-by: Dieu Huynh <dieuhhuynh@gmail.com>
1 parent 3a960fc commit 637c9e9

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "spearmint",
33
"version": "0.6.0",
44
"description": "An open-source developer tool that simplifies testing and hopes to help increase awareness about web accessibility.",
5-
"author": "spearmintjs",
5+
"author": "team spearmint <germanbluemax@gmail.com>",
66
"build": {
77
"appId": "com.spearmint",
88
"files": [
@@ -12,7 +12,13 @@
1212
],
1313
"directories": {
1414
"buildResources": "build"
15-
}
15+
},
16+
"linux": {
17+
"target": [
18+
"deb"
19+
],
20+
"maintainer": "team spearmint"
21+
}
1622
},
1723
"main": "public/electron.js",
1824
"homepage": "./",
@@ -28,7 +34,6 @@
2834
"concurrently": "^4.1.2",
2935
"cross-env": "^5.2.1",
3036
"dotenv": "^8.2.0",
31-
"electron": "^12.0.5",
3237
"electron-is-dev": "^1.1.0",
3338
"fibers": "^5.0.0",
3439
"js-beautify": "^1.10.0",
@@ -57,7 +62,7 @@
5762
"react-eject": "react-scripts eject",
5863
"build": "NODE_ENV=production react-app-rewired build && npm run electron-build",
5964
"react-build": "NODE_ENV=production react-scripts build",
60-
"electron-build": "NODE_ENV=production electron-builder -mwl",
65+
"electron-build": "NODE_ENV=production electron-builder -l",
6166
"electron-rebuild": "electron-rebuild -f -w node-pty",
6267
"release": "npm run react-build && electron-builder --publish=always",
6368
"start-windows": "cross-env NODE_ENV=development concurrently \"cross-env BROWSER=none react-app-rewired start\" \"wait-on http://localhost:3000 && electron .\"",
@@ -85,6 +90,7 @@
8590
"@typescript-eslint/parser": "^2.33.0",
8691
"chai": "^4.3.4",
8792
"chai-as-promised": "^7.1.1",
93+
"electron": "^12.0.5",
8894
"electron-builder": "^22.6.1",
8995
"electron-devtools-installer": "^3.0.0",
9096
"electron-rebuild": "^2.3.5",

public/electron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const os = require('os');
66
const pty = require('node-pty');
77

88
//Dynamic variable to change terminal type based on os
9-
let shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash';
9+
const shell = os.platform() === 'win32' ? 'powershell.exe' : 'bash';
1010

1111

1212

0 commit comments

Comments
 (0)