Skip to content

Commit

Permalink
Use webkit2gtk-4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Jun 18, 2024
1 parent 14db93d commit b11744b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ runs:
shell: bash
run: |
sudo apt update
sudo apt -y install libgtk-3-dev libwebkit2gtk-4.0-dev
sudo apt -y install libgtk-3-dev libwebkit2gtk-4.1-dev
sudo apt -y install libwebkit2gtk-4.0-dev # also install 4.0 because it's the default in wails, so any task that runs a go command would require the added tag
16 changes: 13 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ before:
- mkdir -p frontend/build
- touch frontend/build/.gitkeep

- wails generate module
- wails generate module -tags webkit2_41 # I have no idea why, but if the tag isn't set here, the final artifact will depend on webkit2gtk-4.0
- pnpm -C frontend install
- pnpm -C frontend build

Expand All @@ -35,6 +35,13 @@ builds:
- -s
- -skipbindings

overrides:
- goos: linux
goarch: amd64
goamd64: v1
tags:
- webkit2_41

- id: appimage

binary: SatisfactoryModManager.AppImage # Parallel builds would overwrite each other, so we need to specify the binary name
Expand All @@ -57,6 +64,9 @@ builds:
- -s
- -skipbindings

tags:
- webkit2_41

- id: nsis

binary: SatisfactoryModManager-Setup # This name must match the nsis script OutFile, so the installer overwrites the wails built exe
Expand Down Expand Up @@ -125,7 +135,7 @@ release:
| Windows | Linux | MacOS |
|:-------:|:-----:|:-----:|
| [Download](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager-Setup.exe) | [Download (AppImage)](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager_linux_amd64.AppImage) | [Download](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager_darwin_universal.zip) |
| | [Download (standalone)](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager_linux_amd64) <br> *requires libwebkit2gtk-4.0* | |
| [Download](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager-Setup.exe) | [Download (standalone)](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager_linux_amd64) <br> *requires libwebkit2gtk-4.1* | [Download](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager_darwin_universal.zip) |
| | [Download (AppImage)](https://github.com/satisfactorymodding/SatisfactoryModManager/releases/download/v{{.Version}}/SatisfactoryModManager_linux_amd64.AppImage) | |
If you already have Satisfactory Mod Manager installed, you don't need to download it again, it will auto-update.

0 comments on commit b11744b

Please sign in to comment.