Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions desktop-app/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
local-gateway
socks5-proxy
13 changes: 13 additions & 0 deletions desktop-app/bin/build-copy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set -ex

BINDIR=$(realpath ./bin)

echo Building local-gateway
cd ../local-gateway/gwgo/
/usr/local/go/bin/go build
cp local-gateway $BINDIR/

echo Building socks5 proxy
cd socks5/
/usr/local/go/bin/go build
cp socks5-proxy $BINDIR/
Binary file added desktop-app/bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion desktop-app/electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ protocols:
compression: normal
asarUnpack:
- vendor/
- bin/
- node_modules/@dappnet/local-gateway/

afterSign: scripts/mac/notarize.js
Expand All @@ -28,6 +29,7 @@ files:
- ui/out/
- node_modules/
- vendor/
- bin/

# ${platform} and ${arch} don't work here.
# - vendor/ipfs/go-ipfs_v0.13.0_${platform}-${arch}/ipfs
Expand Down Expand Up @@ -68,7 +70,8 @@ mac:
# binaries Array<String> | “undefined” - Paths of any extra binaries that need to be signed.
binaries:
- vendor/ipfs/kubo_v0.18.1_darwin-amd64/ipfs
- vendor/local-proxy/merino
- bin/local-gateway
- bin/socks5-proxy

category: public.app-category.tools

Expand Down
Loading