From ddce8e41ab0f607ca5db40936e336bd75cc293f5 Mon Sep 17 00:00:00 2001 From: IRules <48042380+IRules@users.noreply.github.com> Date: Fri, 14 Feb 2025 11:50:57 +0200 Subject: [PATCH 1/3] Added release workflow. --- .github/workflows/main.yml | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9d3a3d9 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,62 @@ +name: 'publish' + +on: + push: + branches: + - master + +# This workflow will trigger on each push to the `release` branch to create or update a GitHub release, build your app, and upload the artifacts to the release. + +jobs: + publish-tauri: + permissions: + contents: write + strategy: + fail-fast: false + matrix: + include: + - platform: 'macos-latest' # for Arm based macs (M1 and above). + args: '--target aarch64-apple-darwin' + - platform: 'macos-latest' # for Intel based macs. + args: '--target x86_64-apple-darwin' + - platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04. + args: '' + - platform: 'windows-latest' + args: '' + + runs-on: ${{ matrix.platform }} + steps: + - uses: actions/checkout@v4 + + - name: setup node + uses: actions/setup-node@v4 + with: + node-version: lts/* + + - name: install Rust stable + uses: dtolnay/rust-toolchain@stable + with: + # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. + targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} + + - name: install dependencies (ubuntu only) + if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above. + run: | + sudo apt-get update + sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + # webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2. + # You can remove the one that doesn't apply to your app to speed up the workflow a bit. + + - name: install frontend dependencies + run: yarn install # change this to npm, pnpm or bun depending on which one you use. + + - uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version. + releaseName: 'App v__VERSION__' + releaseBody: 'See the assets to download this version and install.' + releaseDraft: true + prerelease: false + args: ${{ matrix.args }} From 1f39a133f4a739351b4e499f43351c92e6d0dfab Mon Sep 17 00:00:00 2001 From: IRules <48042380+IRules@users.noreply.github.com> Date: Fri, 14 Feb 2025 11:58:04 +0200 Subject: [PATCH 2/3] Fixed bun not found issue. --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d3a3d9..5da6e9f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,6 +28,8 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + - name: setup node uses: actions/setup-node@v4 with: @@ -48,7 +50,7 @@ jobs: # You can remove the one that doesn't apply to your app to speed up the workflow a bit. - name: install frontend dependencies - run: yarn install # change this to npm, pnpm or bun depending on which one you use. + run: bun install # change this to npm, pnpm or bun depending on which one you use. - uses: tauri-apps/tauri-action@v0 env: From 6dfa5f5975605cc99a549e6b741b6c05e8ab9e28 Mon Sep 17 00:00:00 2001 From: IRules <48042380+IRules@users.noreply.github.com> Date: Fri, 14 Feb 2025 12:10:40 +0200 Subject: [PATCH 3/3] Updated README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 47fcc1f..0e0a3b2 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,13 @@ Please do not ask for these features to be implemented: ## Installation +1. Go to Releases and download the latest installer for your platform. +2. Run the installer and follow the instructions. +3. Do not run the app from the installer ( it will save the Chart in the wrong location - To be fixed ). Instead, run the app from the start menu or run the executable from the installation directory. +4. If you like the app, please consider starring the repository. Thank you! + +## Manual Installation + ### Windows Prerequisites: