Skip to content

Commit 6b0ccb3

Browse files
committed
Added electron-rebuild to package builder
1 parent 9e23b04 commit 6b0ccb3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/package.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ jobs:
1818
node-version: "17.0.1"
1919
cache: 'npm'
2020

21-
- run: "sudo apt install libpcsclite-dev"
21+
- run: "sudo apt install libpcsclite-dev build-essential gcc"
2222

23+
# Install packages, rebuild using electron
2324
- run: "npm install"
25+
- run: "npm install -g node-gyp"
26+
- run: "./node_modules/.bin/electron-rebuild"
2427

2528
- run: "npm run build"
2629

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "magnificent-sloth",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Point of Sale for Dead Mongoose",
55
"main": "main.js",
66
"maintainers": [

0 commit comments

Comments
 (0)