Tested on macOS Sonoma Developer beta 2 (23A5276g)
- Download openssh-portable source code, install
libcrypto,libfido2; - Configure openssh-portable build system by
./configure # [options].
| // Package main is a sample macOS-app-bundling program to demonstrate how to | |
| // automate the process described in this tutorial: | |
| // | |
| // https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
| // | |
| // Bundling the .app is the first thing it does, and creating the DMG is the | |
| // second. Making the DMG is optional, and is only done if you provide | |
| // the template DMG file, which you have to create beforehand. | |
| // | |
| // Example use: |
0x24abe08c1e0f1ac3fd4a38ef7e0a9877c12457e1af2724b41984c797fe8bca30
| #!/bin/sh | |
| get_inode() { | |
| stat -c '%i' "$1" | |
| } | |
| find_go() { | |
| self=`get_inode $(readlink -m "$1")` | |
| local IFS=: |