Function adguardian::welcome::welcome
source · pub async fn welcome() -> Result<(), Box<dyn Error>>
Expand description
Initiate the welcome script This function will:
- Print the AdGuardian ASCII art
- Check if there’s an update available
- Check for the required environmental variables
- Prompt the user to enter any missing variables
- Verify the connection to the AdGuard instance
- Verify authentication is successful
- Verify the AdGuard Home version is supported
- Then either print a success message, or show instructions to fix and exit