diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 1ee35e1..479475c 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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" diff --git a/README.md b/README.md index 2d8258c..d832155 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 22989af..a32db53 100644 --- a/package.json +++ b/package.json @@ -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": [ @@ -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",