Unified Agent + reusable Go agent core.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: build windows desktop app as gui subsystem

Lyric f9552d4e 685c684a

+10 -2
+5 -1
.github/workflows/release.yml
··· 167 167 shell: bash 168 168 run: | 169 169 mkdir -p dist 170 + desktop_ldflags="-s -w" 171 + if [[ "${{ matrix.goos }}" == "windows" ]]; then 172 + desktop_ldflags="${desktop_ldflags} -H=windowsgui" 173 + fi 170 174 GOOS="${{ matrix.goos }}" GOARCH="${{ matrix.goarch }}" \ 171 - go build -trimpath -tags "${{ matrix.go_build_tags }}" -ldflags "-s -w" -o "${{ matrix.raw_desktop_binary }}" ./desktop/wails 175 + go build -trimpath -tags "${{ matrix.go_build_tags }}" -ldflags "${desktop_ldflags}" -o "${{ matrix.raw_desktop_binary }}" ./desktop/wails 172 176 173 177 - name: Build bundled backend binary 174 178 shell: bash
+5 -1
scripts/build-desktop.sh
··· 131 131 132 132 echo "==> Building desktop ${DESKTOP_OUTPUT}" 133 133 echo " tags: ${desktop_tags[*]}" 134 - go build -tags "${desktop_tags[*]}" -o "${DESKTOP_OUTPUT}" ./desktop/wails 134 + desktop_ldflags=() 135 + if [[ "$(target_goos)" == "windows" ]]; then 136 + desktop_ldflags=(-ldflags "-H=windowsgui") 137 + fi 138 + go build "${desktop_ldflags[@]}" -tags "${desktop_tags[*]}" -o "${DESKTOP_OUTPUT}" ./desktop/wails 135 139 136 140 echo 137 141 echo "Built:"