Skip to content

Commit b9df6ce

Browse files
committed
update webview dependencies
1 parent 4f6fcdd commit b9df6ce

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ jobs:
324324
channel: master
325325
- run: |
326326
sudo apt update -y
327-
sudo apt install -y ninja-build libgtk-3-dev libayatana-appindicator3-1 libayatana-appindicator3-dev rpm patchelf libfuse2 locate libkeybinder-3.0-dev
327+
sudo apt install -y ninja-build libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-1 libayatana-appindicator3-dev rpm patchelf libfuse2 locate libkeybinder-3.0-dev
328328
arch=$(uname -m)
329329
wget -O appimagetool "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-${arch}.AppImage"
330330
chmod +x appimagetool
@@ -480,6 +480,7 @@ jobs:
480480
- cmake
481481
- curl
482482
- libgtk-3-dev
483+
- libwebkit2gtk-4.1-dev
483484
- libkeybinder-3.0-dev
484485
- ninja-build
485486
- unzip
@@ -495,6 +496,7 @@ jobs:
495496
source: .
496497
plugin: nil
497498
stage-packages:
499+
- libwebkit2gtk-4.1-0
498500
- libgtk-3-dev
499501
- libkeybinder-3.0-dev
500502
- libappindicator3-dev

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Install webview dependencies
5757
run: |
5858
sudo apt-get update -y
59-
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev xvfb
59+
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev xvfb
6060
- name: Run Unit tests.
6161
run: |
6262
# Get packages for testing and coverage (including cmd/web for flags_test.go)
@@ -185,7 +185,7 @@ jobs:
185185
- if: runner.os == 'Linux'
186186
run: |
187187
sudo apt-get update -y
188-
sudo apt-get install -y ninja-build libgtk-3-dev libayatana-appindicator3-dev libkeybinder-3.0-dev
188+
sudo apt-get install -y ninja-build libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev libkeybinder-3.0-dev
189189
go build -tags nosqlite -ldflags="-w -s" -buildmode=c-shared -o ui/flutter/linux/bundle/lib/libgopeed.so github.com/GopeedLab/gopeed/bind/desktop
190190
cd ui/flutter
191191
flutter build linux

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/GopeedLab/gopeed
33
go 1.25.4
44

55
require (
6-
github.com/GopeedLab/webview_go v0.0.0-20260416010719-fc58e7d53769
6+
github.com/GopeedLab/webview_go v0.0.0-20260423023243-b3f067ccab2f
77
github.com/anacrolix/torrent v1.60.1-0.20251217073903-486bcbe758e0
88
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
99
github.com/bodgit/sevenzip v1.6.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
2525
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
2626
github.com/GopeedLab/webview_go v0.0.0-20260416010719-fc58e7d53769 h1:iuMR7aHvckis8PKYUDXDa8elcmf34GksWpaYak1EYKw=
2727
github.com/GopeedLab/webview_go v0.0.0-20260416010719-fc58e7d53769/go.mod h1:FvV19lu9rQ9NcbczN5y8pbWecURRRbWa8tbfFARBDa0=
28+
github.com/GopeedLab/webview_go v0.0.0-20260423023243-b3f067ccab2f h1:yu//jtofUpHZB+IpB1xIH8z4o4JsFJ6pMvgA1Ww/ElY=
29+
github.com/GopeedLab/webview_go v0.0.0-20260423023243-b3f067ccab2f/go.mod h1:FvV19lu9rQ9NcbczN5y8pbWecURRRbWa8tbfFARBDa0=
2830
github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
2931
github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
3032
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=

0 commit comments

Comments
 (0)