Skip to content

Enhance installation script for macOS compatibility#696

Merged
pablomendezroyo merged 1 commit intopablo/install-script-macosfrom
pablo/add-notifications-premium
Mar 5, 2026
Merged

Enhance installation script for macOS compatibility#696
pablomendezroyo merged 1 commit intopablo/install-script-macosfrom
pablo/add-notifications-premium

Conversation

@pablomendezroyo
Copy link
Contributor

Improve the installation script to support macOS, including enhanced OS detection, cross-platform functions, and improved error handling. Add functionality for notifications and premium packages, and streamline the uninstallation process. Enhance logging and user feedback throughout the installation.

@pablomendezroyo pablomendezroyo requested a review from a team as a code owner March 4, 2026 11:36
@pablomendezroyo pablomendezroyo merged commit 9c0a696 into pablo/install-script-macos Mar 5, 2026
6 of 7 checks passed
@pablomendezroyo pablomendezroyo deleted the pablo/add-notifications-premium branch March 5, 2026 07:12
@pablomendezroyo pablomendezroyo mentioned this pull request Mar 5, 2026
29 tasks
pablomendezroyo added a commit that referenced this pull request Mar 9, 2026
* Enhance macOS compatibility in installation script

- Added checks to ensure the script is executed, not sourced.
- Improved OS detection and handling for macOS and Linux.
- Updated directory paths for macOS.
- Introduced cross-platform helper functions for downloading files and modifying files.
- Added functionality to patch the .dappnode_profile for macOS compatibility.
- Enhanced user shell configuration to source the profile correctly.
- Cleaned up rc.local for Linux installations.
- Improved logging and user feedback during installation.

* Add macOS support for installation scripts and update DAppNode core start function

* Normalize component names to lowercase in download URL and file paths

* Update macOS test script to install Docker using Homebrew

* Normalize component names to lowercase in Docker image loading logic

* Remove macOS test scripts from workflow configuration

* Update IPFS endpoint and enhance logging in installation script

* Refactor logging in installation script to remove color output and improve readability

* uninstall script in macos (#695)

* uninstall script in macos

* comment reexec under bash

* comment

* remove colors logic

---------

Co-authored-by: pablomendezroyo <41727368+pablomendezroyo@users.noreply.github.com>

* Enhance installation script with improved error handling, logging, and CLI wrappers for VPN commands

* Remove core CLI wrappers from installation script to streamline execution

* Add macOS-specific environment variable injection for dappmanager compose

* Fix DISABLE_HOST_SCRIPTS environment variable handling in macOS patch function

* Initialize DNCORE_COMPOSE_ARGS array to prevent unbound variable errors

* Refactor macOS patch function to handle environment variable insertion with temporary file for compatibility

* Increase sleep duration to 30 seconds for VPN initialization in installation script

* Implement wait_for_internal_ip function to ensure dappmanager publishes INTERNAL_IP before proceeding

* Add macOS server detection and adjust package selection for always-on Macs

* Add patch for macOS non-server to use remote IPFS services in maindb.json

* Enhance wait_for_internal_ip function to check for HOSTNAME alongside INTERNAL_IP and improve error messaging; add wait for maindb.json file existence in macOS non-server patch function

* Remove macOS non-server patch for remote IPFS services from installation script

* Remove default PROFILE_BRANCH assignment from installation script

* Add support for minimal installation mode and enhance argument parsing in installer script

* Increase wait time for VPN initialization in installer script

* Add function to print VPN access credentials after core startup

* Refactor Linux setup steps to conditionally execute based on MINIMAL mode

* Add support for Notifications and Premium packages in installation scripts (#696)

* Add local profile path argument to DAppNode installation script

* Add support for macOS in VPN access credential retrieval

* Add support for custom package selection in installation script

* Add interactive setup wizard to installation script

* Add conditional output for VPN credentials based on selected packages

* Remove interactive mode support from installation script

* Add support for lite installation mode in the installation script

* Refactor installation script by removing macOS-specific checks and unused functions

* Improve Docker prerequisite checks in installation script

* Remove outdated comment regarding patch_compose_paths function in installation script

---------

Co-authored-by: Marc Font <36164126+Marketen@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants