Skip to content

Commit 5a346c0

Browse files
committed
docs: Add note on how to run the project with GNOME builder
Signed-off-by: Felicitas Pojtinger <[email protected]>
1 parent 476d59d commit 5a346c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ $ go generate ./... # Also see https://github.com/dennwc/flatpak-go-mod for upda
175175
$ go run .
176176
```
177177

178-
You can also open the project in [GNOME Builder](https://flathub.org/apps/org.gnome.Builder) and run it by clicking the play button in the header bar.
178+
You can also open the project in [GNOME Builder](https://flathub.org/apps/org.gnome.Builder) and run it by clicking the play button in the header bar. Note that GNOME Builder doesn't automatically download the sources specified in [go.mod.json](./go.mod.json), so you need to either run `go mod vendor` manually or copy the contents of [go.mod.json](./go.mod.json) into the `.modules[] | select(.name == "multiplex") | .sources` field of [com.pojtinger.felicitas.Multiplex.json](./com.pojtinger.felicitas.Multiplex.json).
179179

180180
## License
181181

com.pojtinger.felicitas.Multiplex.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"buildsystem": "simple",
3535
"build-commands": [
3636
"mkdir -p vendor && cp modules.txt vendor/modules.txt",
37-
". /usr/lib/sdk/golang/enable.sh && export GOBIN=\"/app/bin\" && go mod vendor && go generate ./... && go install -v -mod=vendor .",
37+
". /usr/lib/sdk/golang/enable.sh && export GOBIN=\"/app/bin\" && go generate ./... && go install -v -mod=vendor .",
3838
"desktop-file-install --dir=/app/share/applications $FLATPAK_ID.desktop",
3939
"install -D -m 0644 internal/resources/$FLATPAK_ID.metainfo.xml /app/share/metainfo/$FLATPAK_ID.metainfo.xml",
4040
"for icon in 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512; do install -D -m 0644 docs/icon-${icon}.png /app/share/icons/hicolor/${icon}/apps/$FLATPAK_ID.png; done"

0 commit comments

Comments
 (0)