Skip to content

Commit 5e74b89

Browse files
committed
compile dbxcli for AMD64 on Mac (Intel code to be used on Intel and Silicon), update documentation, issue #1
1 parent 5490bc9 commit 5e74b89

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

optional/dbxcli_Mac_precompiled/HowToCompileYourself.txt

+8
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ dbxcli version: 0.1.0
1515
SDK version: 5.4.0
1616
Spec version: 097e9ba
1717

18+
Note: this runs a build fitting your current CPU architecture. If you run on Intel, you get Intel. If you are using AMD/Silicon, you get a build for Silicon.
19+
While Intel can be used on Silicon thanks to Rosetta, it does not work the other way around.
20+
21+
To build on ARM an Intel version, useable on both architecture, instead of go build ente:
22+
GOOS=darwin GOARCH=amd64 go build -o dbxcli main.go
23+
24+
Test as above.
25+
1826
Last step:
1927
Copy it into your destination folder, such as resources and sign it. (Modify the path below fitting to your path), also use your certificate name:
2028

317 KB
Binary file not shown.

0 commit comments

Comments
 (0)