Skip to content

Commit 1a666aa

Browse files
committed
Merge branch 'master' into VersionPickerSeparator
2 parents 7e123e4 + 33862c5 commit 1a666aa

File tree

6 files changed

+96
-85
lines changed

6 files changed

+96
-85
lines changed

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ runs:
3535
- name: Install Wails
3636
if: ${{ inputs.backend == 'true' && inputs.skip-wails != 'true' }}
3737
shell: bash
38-
run: go install github.com/wailsapp/wails/v2/cmd/wails@v2.9.2
38+
run: go install github.com/wailsapp/wails/v2/cmd/wails@v2.10.2
3939

4040
# Any go operation on linux will require these
4141
- name: Install additional dependencies
4242
if: ${{ runner.os == 'Linux' && inputs.backend == 'true' }}
4343
shell: bash
4444
run: |
4545
sudo apt update
46-
sudo apt -y install libgtk-3-dev libwebkit2gtk-4.1-dev patchelf
46+
sudo apt -y install libgtk-3-dev libwebkit2gtk-4.1-dev patchelf librsvg2-dev

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for common issues and their solutions.
4141
* [Go 1.22](https://go.dev/doc/install)
4242
* [pnpm](https://pnpm.io/installation)
4343
* [nodejs](https://nodejs.org/en/download/)
44-
* Wails (`go install github.com/wailsapp/wails/v2/cmd/wails@latest`)
44+
* Wails (`go install github.com/wailsapp/wails/v2/cmd/wails@latest`) (or the version in [the Setup CI action](./.github/actions/setup/action.yml))
4545
* IDE of Choice. Goland or VSCode suggested.
4646

4747
### Configuration
@@ -82,10 +82,16 @@ while maintaining correct ESLint functionality.
8282
wails build
8383
```
8484

85+
To build a version that includes browser devtools (extending production debugging capabilities),:
86+
87+
```bash
88+
wails build -devtools
89+
```
90+
8591
### Linting
8692

87-
Install `golangci-lint` via the directions [here](https://golangci-lint.run/usage/install/#local-installation),
88-
but make sure to install the version specified in `.github/workflows/push.yaml` instead of whatever it suggests.
93+
Install `golangci-lint` via the directions [in the Golangci-lint documentation](https://golangci-lint.run/docs/welcome/install/#local-installation),
94+
but make sure to install the version specified in [`.github/workflows/push.yaml`](./.github/workflows/push.yml) instead of whatever it suggests.
8995

9096
Then, to run it, use:
9197

@@ -107,7 +113,7 @@ SMM handles localization through the Tolgee Svelte integration.
107113
This allows for [in-context translation](https://tolgee.io/js-sdk/) - simply alt-click on a translatable element to open the Tolgee interface.
108114

109115
In order to edit translations in-context, you will need to provide a tolgee API key with edit permissions.
110-
You can create an API key for yourself [here](https://translate.ficsit.app/projects/4/integrate) once you're added to the project.
116+
You can create an API key for yourself [in our Tolgee instance](https://translate.ficsit.app/projects/4/integrate) once you're added to the project.
111117
To supply this API key at development time, create or edit `/frontend/.env.local` and supply the key in a similar format as `.env`.
112118

113119
The in-context translation screenshot feature requires installing the _Tolgee Tools_ browser extension.

cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
"Favorited",
1111
"ficsit",
1212
"ficsitcli",
13+
"GGOOS",
1314
"Goland",
1415
"golangci",
1516
"graphqlrc",
1617
"Konami",
18+
"librsvg",
1719
"Maximised",
1820
"Minimised",
1921
"mircearoata",

frontend/src/lib/components/mods-list/ModsListItem.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
return {
8686
icon: mdiLinkLock,
8787
iconHover: mdiLinkLock,
88-
tooltip: $t('mod-list-item.dependency', 'This mod is installed as a dependency of another mod. It cannot be installed or removed on its own.'),
88+
tooltip: $t('mod-list-item.dependency', 'This mod is already installed as a dependency of another mod. It cannot be uninstalled as long as other mods depend on it.'),
8989
};
9090
}
9191
if (queuedInstall) {

go.mod

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
module github.com/satisfactorymodding/SatisfactoryModManager
22

3-
go 1.22
3+
go 1.22.0
4+
5+
toolchain go1.22.6
46

57
require (
68
github.com/Masterminds/semver/v3 v3.2.1
79
github.com/andygrunwald/vdf v1.1.0
810
github.com/godbus/dbus/v5 v5.1.0
9-
github.com/kbinani/screenshot v0.0.0-20230812210009-b87d31814237
11+
github.com/kbinani/screenshot v0.0.0-20250624051815-089614a94018
1012
github.com/lmittmann/tint v1.0.3
1113
github.com/minio/selfupdate v0.6.0
1214
github.com/mitchellh/go-ps v1.0.0
13-
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
15+
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
1416
github.com/puzpuzpuz/xsync/v3 v3.0.2
15-
github.com/samber/lo v1.39.0
17+
github.com/samber/lo v1.49.1
1618
github.com/samber/slog-multi v1.0.2
1719
github.com/satisfactorymodding/ficsit-cli v0.5.1-0.20241004172351-3640e5e70817
1820
github.com/satisfactorymodding/ficsit-resolver v0.0.6
1921
github.com/shirou/gopsutil/v3 v3.24.3
2022
github.com/spf13/viper v1.18.1
2123
github.com/tawesoft/golib/v2 v2.10.0
22-
github.com/wailsapp/go-webview2 v1.0.16
23-
github.com/wailsapp/wails/v2 v2.9.2
24+
github.com/wailsapp/go-webview2 v1.0.19
25+
github.com/wailsapp/wails/v2 v2.10.2
2426
github.com/zishang520/engine.io v1.5.12
2527
github.com/zishang520/socket.io v1.3.2
2628
golang.org/x/exp v0.0.0-20231214170342-aacd6d4b4611
27-
golang.org/x/sync v0.6.0
28-
golang.org/x/sys v0.22.0
29+
golang.org/x/sync v0.11.0
30+
golang.org/x/sys v0.30.0
2931
gopkg.in/ini.v1 v1.67.0
3032
gopkg.in/natefinch/lumberjack.v2 v2.2.1
3133
howett.net/plist v1.0.1
@@ -41,27 +43,27 @@ require (
4143
github.com/avast/retry-go v3.0.0+incompatible // indirect
4244
github.com/bep/debounce v1.2.1 // indirect
4345
github.com/dustin/go-humanize v1.0.1 // indirect
44-
github.com/fsnotify/fsnotify v1.7.0 // indirect
45-
github.com/gen2brain/shm v0.0.0-20230802011745-f2460f5984f7 // indirect
46+
github.com/fsnotify/fsnotify v1.9.0 // indirect
47+
github.com/gen2brain/shm v0.1.0 // indirect
4648
github.com/go-ole/go-ole v1.3.0 // indirect
4749
github.com/google/uuid v1.6.0 // indirect
4850
github.com/gookit/color v1.5.4 // indirect
49-
github.com/gorilla/websocket v1.5.1 // indirect
51+
github.com/gorilla/websocket v1.5.3 // indirect
5052
github.com/hashicorp/errwrap v1.1.0 // indirect
5153
github.com/hashicorp/go-multierror v1.1.1 // indirect
5254
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
5355
github.com/hashicorp/hcl v1.0.0 // indirect
5456
github.com/jackc/puddle/v2 v2.2.1 // indirect
5557
github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect
56-
github.com/jezek/xgb v1.1.0 // indirect
58+
github.com/jezek/xgb v1.1.1 // indirect
5759
github.com/jlaffaye/ftp v0.2.0 // indirect
5860
github.com/kr/fs v0.1.0 // indirect
59-
github.com/labstack/echo/v4 v4.11.3 // indirect
60-
github.com/labstack/gommon v0.4.1 // indirect
61+
github.com/labstack/echo/v4 v4.13.3 // indirect
62+
github.com/labstack/gommon v0.4.2 // indirect
6163
github.com/leaanthony/go-ansi-parser v1.6.1 // indirect
62-
github.com/leaanthony/gosod v1.0.3 // indirect
64+
github.com/leaanthony/gosod v1.0.4 // indirect
6365
github.com/leaanthony/slicer v1.6.0 // indirect
64-
github.com/leaanthony/u v1.1.0 // indirect
66+
github.com/leaanthony/u v1.1.1 // indirect
6567
github.com/lxn/win v0.0.0-20210218163916-a377121e959e // indirect
6668
github.com/magiconair/properties v1.8.7 // indirect
6769
github.com/mattn/go-colorable v0.1.13 // indirect
@@ -73,9 +75,8 @@ require (
7375
github.com/pkg/errors v0.9.1 // indirect
7476
github.com/pkg/sftp v1.13.6 // indirect
7577
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
76-
github.com/pterm/pterm v0.12.72 // indirect
7778
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
78-
github.com/rivo/uniseg v0.4.4 // indirect
79+
github.com/rivo/uniseg v0.4.7 // indirect
7980
github.com/rogpeppe/go-internal v1.10.0 // indirect
8081
github.com/sagikazarmark/locafero v0.4.0 // indirect
8182
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
@@ -84,7 +85,7 @@ require (
8485
github.com/spf13/cast v1.6.0 // indirect
8586
github.com/spf13/pflag v1.0.5 // indirect
8687
github.com/subosito/gotenv v1.6.0 // indirect
87-
github.com/tkrajina/go-reflector v0.5.6 // indirect
88+
github.com/tkrajina/go-reflector v0.5.8 // indirect
8889
github.com/valyala/bytebufferpool v1.0.0 // indirect
8990
github.com/valyala/fasttemplate v1.2.2 // indirect
9091
github.com/vektah/gqlparser/v2 v2.5.17 // indirect
@@ -96,9 +97,9 @@ require (
9697
github.com/zishang520/engine.io-go-parser v1.2.3 // indirect
9798
github.com/zishang520/socket.io-go-parser v1.0.4 // indirect
9899
go.uber.org/multierr v1.11.0 // indirect
99-
golang.org/x/crypto v0.23.0 // indirect
100-
golang.org/x/net v0.25.0 // indirect
101-
golang.org/x/text v0.15.0 // indirect
100+
golang.org/x/crypto v0.33.0 // indirect
101+
golang.org/x/net v0.35.0 // indirect
102+
golang.org/x/text v0.22.0 // indirect
102103
gopkg.in/yaml.v3 v3.0.1 // indirect
103104
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
104105
modernc.org/libc v1.55.3 // indirect

0 commit comments

Comments
 (0)