Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seperate branch for fixing GH actions problems #90

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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