# Igneum Miner for Mac (packaging/mac) A DMG a miner can open on an Apple silicon Mac to run a node and the Metal miner, and show up on igneum.network/live. Built 3 October 2026 from the binaries already compiled in this repo; nothing is compiled here except the Metal worker (one `swiftc` call, about 7 s). Renamed from "Igneum Devnet" to "Igneum Miner" the same evening (bundle id network.igneum.miner, version 0.1.0); the devnet is still the only network and its name appears in the status lines, never in a window title. Version 0.2.0 (4 October 2026) is the devnet v4 build: a new chain from genesis, so the data folder moved to `devnet-v4`; the miner takes an EVM payout address (`--evm-address`, `PAYOUT_EVM`), runs every identity through one process (`--identities`), votes on finality by default (`VOTE=0` turns it off) and hot-swaps the hourly program through the worker's `prepare` command. ## Build packaging/mac/build-dmg.sh Output: `packaging/mac/dist/Igneum-Miner-0.2.0.dmg` (about 16 MB, lzfse). The script takes `vendor/igneum-node/target-integration/release/igneumd` and `igneum-miner` (the devnet-v4 integration build of `vendor/igneum-node-v4` at dc749905, `NODE=` and `MINER=` override) and rebuilds the Metal worker from `proto-metal/main.swift` (the hot-swap source) with `-target arm64-apple-macos11`, so it loads on any Apple silicon macOS and not only on the build machine's (the committed `proto-metal/igneum-bench-hotswap` says minos 16.0; `REBUILD_WORKER=0` ships it as is, `WORKER=` names another one). It copies the three into the bundle, strips the copies and signs them ad hoc again (strip invalidates the linker signature and arm64 macOS refuses an unsigned binary), and checks that each copy still runs, that the worker says `prepare 1` and that the miner is the v4 one (`--evm-address` in its usage). The originals are untouched. The icon is `brand/icons/igneum.icns` and the DMG art `brand/icons/dmg-background.tiff` (both from `python3 brand/icons/make-icons.py`). The image is laid out by `dmgbuild` (`pip3 install dmgbuild`, settings in `dmg/settings.py`: volume "Igneum Miner", hidden `.VolumeIcon.icns` with the custom-icon flag, background, icon slots app (165,130), Applications (495,130), README and Stop command on the row below, no Finder scripting needed). Without dmgbuild the script builds a plain hdiutil image and says so. `build/` and `dist/` are ignored by git. ## What is on the DMG | Item | What it is | |---|---| | `Igneum Miner.app` | the launcher bundle (below) | | `README.txt` | 10 lines for the miner (`dmg/README.txt`), with the seed line | | `Stop Igneum Miner.command` | stops a copy whose window was closed without Ctrl+C (`app/Stop Igneum Miner.command`) | | `Applications` | symlink, for the drag | ## The app bundle Igneum Miner.app/Contents/MacOS/Igneum Miner app/launcher.sh: removes quarantine from Resources, opens the script in Terminal Igneum Miner.app/Contents/Resources/igneum-miner.sh the run script (app/igneum-miner.sh); sets the Terminal title "Igneum Miner" Igneum Miner.app/Contents/Resources/bin/igneumd, igneum-miner, igneum-bench Igneum Miner.app/Contents/Resources/igneum.icns Igneum Miner.app/Contents/Info.plist app/Info.plist (CFBundleVersion = build stamp, LSMinimumSystemVersion 11.0) Why a shell launcher and not an AppleScript applet: `open -a Terminal