Skip to content

Commit fff94e9

Browse files
authored
Merge pull request #17 from maxomatic458/gui
Add GUI
2 parents 257b89c + 61b8ca4 commit fff94e9

File tree

96 files changed

+7360
-705
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+7360
-705
lines changed

.github/workflows/release-gui.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish-tauri:
9+
permissions:
10+
contents: write
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- platform: 'macos-latest' # for Arm based macs (M1 and above).
16+
args: '--target aarch64-apple-darwin'
17+
- platform: 'macos-latest' # for Intel based macs.
18+
args: '--target x86_64-apple-darwin'
19+
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
20+
args: ''
21+
- platform: 'windows-latest'
22+
args: ''
23+
24+
runs-on: ${{ matrix.platform }}
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: setup node
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: lts/*
32+
33+
- name: install Rust stable
34+
uses: dtolnay/rust-toolchain@stable
35+
with:
36+
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
37+
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
38+
39+
- name: install dependencies (ubuntu only)
40+
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
41+
run: |
42+
sudo apt-get update
43+
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
44+
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
45+
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.
46+
47+
- name: install frontend dependencies
48+
run: bun install # change this to npm, pnpm or bun depending on which one you use.
49+
50+
- uses: tauri-apps/tauri-action@v0
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
with:
54+
tagName: __VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
55+
releaseName: 'quic-send __VERSION__'
56+
releaseBody: 'See the assets to download this version of quic send'
57+
releaseDraft: true
58+
prerelease: false
59+
args: ${{ matrix.args }}

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# .github/workflows/release.yml
2-
31
name: Release
42

53
on:

0 commit comments

Comments
 (0)