Merge pull request #596 from keerifox/desktop-workflow-potential-fix

Desktop build potential fix
This commit is contained in:
Joohansson (Json) 2023-08-14 12:57:31 +02:00 committed by GitHub
commit e9ecdb06ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 13 deletions

View file

@ -33,9 +33,11 @@ jobs:
release: release:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
# Run different jobs for each OS # Run different jobs for each OS
strategy: strategy:
fail-fast: false
matrix: matrix:
include: include:
- os: ubuntu-20.04 - os: ubuntu-20.04
@ -43,16 +45,19 @@ jobs:
asset_name: checksums asset_name: checksums
app_ext: AppImage app_ext: AppImage
app_os: linux app_os: linux
experimental: false
- os: macos-11 - os: macos-11
artifact_name: checksums artifact_name: checksums
asset_name: checksums asset_name: checksums
app_ext: dmg app_ext: dmg
app_os: mac app_os: mac
experimental: false
- os: windows-2022 - os: windows-2022
artifact_name: checksums artifact_name: checksums
asset_name: checksums asset_name: checksums
app_ext: exe app_ext: exe
app_os: windows app_os: windows
experimental: true
needs: pre_build # job dependency and shared variables needs: pre_build # job dependency and shared variables
steps: steps:
@ -81,7 +86,7 @@ jobs:
- name: Build Electron app - name: Build Electron app
run: | run: |
npm run desktop:local npm run desktop:local --openssl_fips=''
- name: Create Hashes - name: Create Hashes
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
@ -199,4 +204,4 @@ jobs:
path: | path: |
desktop-app/build/*.AppImage desktop-app/build/*.AppImage
desktop-app/build/*.dmg desktop-app/build/*.dmg
desktop-app/build/*.exe desktop-app/build/*.exe

View file

@ -22,16 +22,13 @@ npm install
npm run wallet:dev npm run wallet:dev
``` ```
If you want to debug in VS code, first install [debugger for chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) You can use JavaScript debugger bundled with VS Code to debug. Refer [here](https://github.com/microsoft/vscode-js-debug) for additional information.
Then you can just go to the debug screen and choose "Launch Chrome http"
#### Run the wallet in dev mode as https (for example if using the Ledger device) #### Run the wallet in dev mode as https (for example if using the Ledger device)
```bash ```bash
npm run wallet:dev-ssl npm run wallet:dev-ssl
``` ```
To debug in VS code: Go to debug screen and choose "Launch Chrome https"
## Build Wallet (For Production) ## Build Wallet (For Production)
Build a production version of the wallet for web: Build a production version of the wallet for web:
```bash ```bash
@ -52,12 +49,11 @@ Run the desktop wallet in dev mode:
npm run desktop:dev npm run desktop:dev
``` ```
If you want to debug in VS code, first install [debugger for chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) You can use JavaScript debugger bundled with VS Code to debug. Refer [here](https://github.com/microsoft/vscode-js-debug) for additional information.
Then you can just go to the debug screen and choose "Electron: Main", "Electron: Renderer", or "Electron: All" for both Main and Renderer threads.
Build the desktop wallet for your local OS (Will be in `desktop-app\build`): Build the desktop wallet for your local OS (Will be in `desktop-app\build`):
```bash ```bash
npm run desktop:local npm run desktop:local --openssl_fips=''
``` ```
Can also run a complete build for your local OS. The "wallet:build-desktop" command is run automatically. (Will be in `desktop-app\build`): Can also run a complete build for your local OS. The "wallet:build-desktop" command is run automatically. (Will be in `desktop-app\build`):
@ -97,4 +93,4 @@ npm version patch
git push --follow-tags git push --follow-tags
``` ```
3. The github actions will take care of the rest. Linting, release draft, docker, desktop app building and uploading binaries based on the new version 3. The github actions will take care of the rest. Linting, release draft, docker, desktop app building and uploading binaries based on the new version

View file

@ -4,7 +4,7 @@
[![GitHub All Releases](https://img.shields.io/github/downloads/nault/nault/total)](https://github.com/Nault/Nault/releases/latest) [![GitHub All Releases](https://img.shields.io/github/downloads/nault/nault/total)](https://github.com/Nault/Nault/releases/latest)
[![Discord](https://img.shields.io/badge/discord-join%20chat-orange.svg?logo=discord&color=7289DA)](https://discord.nanocenter.org) [![Discord](https://img.shields.io/badge/discord-join%20chat-orange.svg?logo=discord&color=7289DA)](https://discord.nanocenter.org)
Nault is a community driven fork of the popular nano wallet [NanoVault](https://github.com/cronoh/nanovault) 💙 Nault is a community-driven fork of the popular nano wallet [NanoVault](https://github.com/cronoh/nanovault) 💙
It's a fully client-side signing wallet for sending and receiving [nano](https://github.com/nanocurrency/nano-node/) either directly in your browser at [nault.cc](https://nault.cc) or with the [desktop app](https://github.com/Nault/Nault/releases/latest). It's a fully client-side signing wallet for sending and receiving [nano](https://github.com/nanocurrency/nano-node/) either directly in your browser at [nault.cc](https://nault.cc) or with the [desktop app](https://github.com/Nault/Nault/releases/latest).
@ -14,9 +14,9 @@ Seamless integration with any nano compatible RPC backend/websocket and the aim
___ ___
## How To Use ## How To Use
Nault comes in different flavors to suit your need. Nault comes in different flavors to suit your needs.
#### Desktop App #### Desktop App
Available for Windows/Mac/Linux - just head over to the [latest release](https://github.com/Nault/Nault/releases/latest) and download the version for your OS. Arch Linux users may [install it from the (unofficial) AUR](https://aur.archlinux.org/packages/nault-bin/). Available for Windows/Mac/Linux just head over to the [latest release](https://github.com/Nault/Nault/releases/latest) and download the version for your OS. Arch Linux users may [install it from the (unofficial) AUR](https://aur.archlinux.org/packages/nault-bin/).
If you want to verify the binary checksum there are plenty of apps to do this. One way is using a powershell or bash terminal: If you want to verify the binary checksum there are plenty of apps to do this. One way is using a powershell or bash terminal: