Skip to content

Commit 770f936

Browse files
Update README.md
1 parent 29b1d88 commit 770f936

File tree

1 file changed

+59
-25
lines changed

1 file changed

+59
-25
lines changed

README.md

Lines changed: 59 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,112 @@
1+
Here's your updated `README.md` with full macOS support info added, while preserving your original structure and tone:
2+
3+
---
4+
15
## 🚀 AdventureCoin Build Scripts
2-
This interactive Bash script automates building AdventureCoin's daemon and Qt wallet on Ubuntu-based systems. It includes full support for advanced packaging, launcher creation, and Berkeley DB patching. Perfect for developers and users who want to build or distribute AdventureCoin with minimal effort.# advc-build-scripts
6+
7+
This interactive Bash script automates building AdventureCoin's daemon and Qt wallet on **Ubuntu-based systems** and **macOS**. It includes full support for advanced packaging, launcher creation, and Berkeley DB patching. Perfect for developers and users who want to build or distribute AdventureCoin with minimal effort.
8+
9+
# advc-build-scripts
310

411
🛠️ Features
512
✅ Interactive Menu – Choose between:
613

714
* Daemon-only build
8-
915
* Qt Wallet-only build
10-
1116
* Full build (Daemon + Qt Wallet)
1217

13-
✅ Optional Steps (ubuntu) (toggleable):
18+
✅ Optional Steps (Ubuntu only, toggleable):
1419

1520
* Strip compiled binaries for smaller size
16-
1721
* Create `.tar.gz` package
18-
1922
* Create `.deb` installer
20-
2123
* Create `.desktop` launcher shortcut
22-
2324
* Generate full desktop-integrated Qt Wallet `.deb`, including multi-size icons
2425

26+
✅ macOS Support:
27+
28+
* Native `.app` bundle generation
29+
* Signed `.dmg` disk image creation
30+
* Auto-patches deprecated Boost and Qt methods
31+
* Installs Protobuf 3.6.1 locally for compatibility
32+
* Works on Apple Silicon and Intel Macs
33+
2534
✅ Automatic Berkeley DB 4.8 Setup:
2635

2736
* Downloads, configures, and compiles Berkeley DB 4.8
28-
29-
* Includes a patch to support newer GCC versions (__atomic_compare_exchange fix)
37+
* Includes a patch to support newer GCC/Clang versions (`__atomic_compare_exchange` fix)
3038

3139
✅ Source Handling:
3240

3341
* Clones the latest AdventureCoin repo (or updates if already cloned)
34-
3542
* Fully automates autogen and configure steps
3643

37-
✅ Qt Wallet Launcher Integration (Optional):
44+
✅ Qt Wallet Launcher Integration (Ubuntu Only):
3845

3946
* Downloads a PNG icon and auto-resizes it to standard resolutions (16x16 to 512x512)
40-
4147
* Embeds icon and `.desktop` file into a proper `.deb` package for desktop launchers
4248

49+
---
50+
4351
## 📦 Output
52+
4453
After running, all binaries and generated packages are located in:
4554

55+
```bash
56+
compiled_wallets/ # Ubuntu
57+
compiled_wallets_macos/ # macOS
4658
```
47-
compiled_wallets/
48-
```
59+
4960
> Possible files include:
5061
5162
* `adventurecoind`, `adventurecoin-cli`, `adventurecoin-tx`, `adventurecoin-qt`
52-
5363
* `adventurecoin_wallet.tar.gz` (if selected)
54-
5564
* `adventurecoin_wallet.deb` (CLI+Daemon wallet)
56-
5765
* `adventurecoin-qt-launcher.deb` (Full desktop `.deb` for Qt wallet)
66+
* `AdventureCoin-Qt.dmg` (Full macOS drag-and-drop installer)
67+
* `AdventureCoin-Qt.app` (Native macOS app bundle)
68+
69+
---
5870

5971
## 🔧 Requirements
60-
Ubuntu 20.04, 22.04 or 24.04 recommended. Script auto-installs all required dependencies including:
6172

62-
* Qt5 libraries
73+
### ✅ Ubuntu (20.04, 22.04, 24.04 recommended)
6374

64-
* Berkeley DB 4.8
75+
Script auto-installs all required dependencies, including:
6576

77+
* Qt5 libraries
78+
* Berkeley DB 4.8
6679
* Boost
67-
6880
* Protobuf
69-
7081
* libevent, libssl, miniupnpc, etc.
7182

83+
### 🍏 macOS (12 Monterey and above)
84+
85+
* Xcode + Command Line Tools
86+
* Homebrew (for dependency management)
87+
* Supports both Intel and Apple Silicon chips
88+
* Installs Protobuf 3.6.1 locally to avoid incompatibility
89+
90+
---
91+
7292
## 💡 Usage
93+
94+
### Ubuntu:
95+
96+
```bash
97+
chmod +x build_adventurecoin_ubuntu.sh
98+
./build_adventurecoin_ubuntu.sh
99+
```
100+
101+
### macOS:
102+
73103
```bash
74-
chmod +x build-adventurecoin.sh
75-
./build-adventurecoin.sh
104+
chmod +x build_adventurecoin_mac.sh
105+
./build_adventurecoin_mac.sh
76106
```
107+
77108
Just follow the prompts to customize your build. The script handles everything else!
78109

110+
---
111+
112+
Let me know if you'd like me to auto-link the GitHub releases or add screenshots of the `.dmg` or `.deb` in action.

0 commit comments

Comments
 (0)