Skip to content

Commit

Permalink
Updated README and updated build to rebuild for native NFC package
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstiekema authored and Merijn Stiekema committed Dec 12, 2023
1 parent 5fe88bb commit 4660390
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
- name: "Use appropriate Node.js"
uses: "actions/setup-node@v3"
with:
node-version: "17.0.1"
node-version: "14.18.1"
cache: 'npm'

- run: "sudo apt install libpcsclite-dev openssl"
- run: "sudo apt install pcscd libpcsclite1 libpcsclite-dev openssl"

# Install packages, rebuild using electron
- run: "npm install"
- run: "npm install @pokusew/pcsclite --build-from-source"
- run: "./node_modules/.bin/electron-rebuild"

# Build
- run: "npm run build-semantic"
- run: "npm run build"

- name: "Upload package"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ The repository supports building a deb-package to be able to install the app on
The deb-package can be found in dist/installers.

When the deb-package is installed and opened via gnome, the application expects the environment file to be in `/home/$USERNAME`. Make sure you copy `sample.env` to this location, rename it to `.env`, and update its values.
You can also just run `source .env` to add your environment variables to the current shell session. Add it to your `.bashrc` to make it permanent.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "magnificent-sloth",
"version": "0.1.3",
"version": "0.1.4",
"description": "Point of Sale for Dead Mongoose",
"main": "main.js",
"maintainers": [
Expand All @@ -15,7 +15,7 @@
"electron": "^12.0.1",
"electron-installer-debian": "^3.0.0",
"electron-packager": "^14.2.1",
"electron-rebuild": "^1.10.0"
"electron-rebuild": "^3.2.5"
},
"author": "",
"license": "MIT",
Expand Down

0 comments on commit 4660390

Please sign in to comment.