Skip to content

Commit

Permalink
fix: Run enable script for Node 18, not 16
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Nov 13, 2023
1 parent 887a6f9 commit 65dc474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrapp/pkg/renderers/flatpak/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ modules:
buildsystem: simple
build-commands:
- git config --global --add safe.directory '*'
- GOPROXY='https://proxy.golang.org,direct' GOFLAGS="-x {{ .GoFlags }}" sh -c '. /usr/lib/sdk/golang/enable.sh && . /usr/lib/sdk/node16/enable.sh && {{ .GoGenerate }}'
- GOPROXY='https://proxy.golang.org,direct' GOFLAGS="-x {{ .GoFlags }}" sh -c '. /usr/lib/sdk/golang/enable.sh && . /usr/lib/sdk/node18/enable.sh && {{ .GoGenerate }}'
- . /usr/lib/sdk/golang/enable.sh && export GOPROXY='https://proxy.golang.org,direct' GOFLAGS='-x {{ .GoFlags }}' && go build -o out/{{ .AppID }} {{ .GoMain }}
- install -D out/{{ .AppID }} /app/bin/{{ .AppID }}
- . /usr/lib/sdk/ImageMagick/enable.sh && for icon in 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512; do convert {{ .GoMain }}/icon.png -resize ${icon} out/icon-${icon}.png; done
Expand Down

0 comments on commit 65dc474

Please sign in to comment.