Commit ce00ffa
Enhance macOS compatibility in installation script (#694)
* 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>1 parent dcd2e86 commit ce00ffa
5 files changed
Lines changed: 989 additions & 229 deletions
File tree
- .github/workflows
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| |||
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| 48 | + | |
| 49 | + | |
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
47 | 55 | | |
48 | | - | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
59 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
| |||
76 | 87 | | |
77 | 88 | | |
78 | 89 | | |
| 90 | + | |
| 91 | + | |
79 | 92 | | |
80 | 93 | | |
81 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments