Skip to content

Commit 7df77e1

Browse files
committed
Updated release workflow.
1 parent 1dc2464 commit 7df77e1

4 files changed

Lines changed: 23 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
args: '--target aarch64-apple-darwin'
1818
- platform: 'macos-latest'
1919
args: '--target x86_64-apple-darwin'
20-
- platform: 'ubuntu-22.04'
20+
- platform: 'ubuntu-latest'
2121
args: ''
2222
- platform: 'windows-latest'
2323
args: ''
@@ -30,16 +30,16 @@ jobs:
3030

3131
# 2. Install Ubuntu dependencies
3232
- name: Install dependencies (Ubuntu only)
33-
if: matrix.platform == 'ubuntu-22.04'
33+
if: matrix.platform == 'ubuntu-latest'
3434
run: |
3535
sudo apt-get update
3636
sudo apt-get install -y \
37+
libwebkit2gtk-4.1-dev \
3738
libgtk-3-dev \
38-
libwebkit2gtk-4.0-dev \
3939
libayatana-appindicator3-dev \
4040
librsvg2-dev \
41+
libsoup-3.0-dev \
4142
libjavascriptcoregtk-4.1-dev \
42-
libsoup2.4-dev \
4343
libssl-dev
4444
4545
# 3. Rust setup

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,22 @@ A simple to use downloadBinaries tool.
44

55
## Get started
66

7-
### 1. Build the application.
7+
### 1. Download binaries
8+
9+
```shell
10+
pnpm download-binaries
11+
```
12+
13+
### 2. Install dependencies
814

915
```shell
1016
pnpm install
11-
pnpm bundle
17+
```
18+
19+
### 3. Build the app
20+
21+
```shell
22+
pnpm build
1223
```
1324

1425
### 2. Run the application

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"dev": "vite",
7-
"build": "vite build",
6+
"vite-dev": "vite",
7+
"vite-build": "vite build",
88
"preview": "vite preview",
9-
"start": "tauri dev",
10-
"bundle": "tauri build",
9+
"dev": "tauri dev",
10+
"build": "tauri build",
1111
"lint": "biome lint .",
1212
"format": "biome format --write .",
1313
"check": "biome check .",

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
33
"build": {
4-
"beforeBuildCommand": "pnpm build",
5-
"beforeDevCommand": "pnpm dev",
4+
"beforeBuildCommand": "pnpm vite-build",
5+
"beforeDevCommand": "pnpm vite-dev",
66
"frontendDist": "../dist",
77
"devUrl": "http://localhost:7000"
88
},

0 commit comments

Comments
 (0)