Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/webview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.0-dev xvfb -y
run: sudo apt-get update && sudo apt-get install libwebkit2gtk-4.1-dev xvfb -y
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Run CMake
Expand All @@ -18,7 +18,7 @@ jobs:
configurePreset: 'ninja'
buildPreset: 'ninja'
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "webview-linux64"
path: ./build
Expand All @@ -35,7 +35,7 @@ jobs:
configurePreset: 'ninja'
buildPreset: 'ninja'
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "webview-mac64"
path: ./build
Expand All @@ -53,7 +53,7 @@ jobs:
configurePreset: 'windows'
buildPreset: 'windows'
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v4
with:
name: "webview-win64"
path: ./build
path: ./build
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ build/
Files.wxs
*.wixobj
*.wixpdb
*.msi
*.msi
_deps/
CMakeFiles/
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
IMPORTED_TARGET
)
pkg_check_modules(
webkit2 REQUIRED webkit2gtk-4.0
webkit2 REQUIRED webkit2gtk-4.1
IMPORTED_TARGET
)
set(CMAKE_CXX_FLAGS "-DWEBVIEW_STATIC")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ Please install the developer packages of webkit2gtk and libgtk on your machine.

With a distribution using apt run:
```
sudo apt install -y libwebkit2gtk-4.0-dev libgtk-3-dev
sudo apt install -y libwebkit2gtk-4.1-dev libgtk-3-dev
```

or DNF
```
sudo dnf install webkit2gtk4,0-devel.x86_64 gtk3-devel.x84_64
sudo dnf install webkit2gtk4.1-devel gtk3-devel
```

## A basic example
Expand Down
Binary file modified libs/libwebview.so
Binary file not shown.