Closed Honestpuck closed 5 months ago
@Honestpuck:
Will you please test with 1.14.0
, changing welcomeDialog="${6:-"false"}"
timestamp=$( date '+%Y-%m-%d-%H%M%S' ) ; curl -o ~/Downloads/Setup-Your-Mac-via-Dialog-$timestamp.bash https://raw.githubusercontent.com/setup-your-mac/Setup-Your-Mac/1.14.0/Setup-Your-Mac-via-Dialog.bash ; sudo bash ~/Downloads/Setup-Your-Mac-via-Dialog-$timestamp.bash
I'm seeing the following:
2024-01-20 06:49:45 - PRE-FLIGHT CHECK: Complete
2024-01-20 06:49:46 - WELCOME DIALOG: brandingBanner is available, using it
2024-01-20 06:49:46 - WELCOME DIALOG: Auto-caching hosted 'green-abstract-geometric-wallpaper_52683-29623.jpg' …
OK. Both before and after I make it "false" I'm getting
sudo bash ./Setup-Your-Mac-via-Dialog-2024-01-21-144243.bash
2024-01-21 14:45:39 -
###
# Setup Your Mac (1.14.0-b1)
# https://snelson.us/sym
###
2024-01-21 14:45:39 - PRE-FLIGHT CHECK: Initiating …
2024-01-21 14:45:39 - PRE-FLIGHT CHECK: This script must be run under 'bash', please do not run it using 'sh', 'zsh', etc.; exiting.
I made the script executable and ran sudo ./Setup-Your-Mac-via-Dialog-2024-01-21-144243.bash
and got the same as you.
2024-01-21 14:57:34 - PRE-FLIGHT CHECK: Complete
2024-01-21 14:57:36 - WELCOME DIALOG: brandingBanner is available, using it
2024-01-21 14:57:36 - WELCOME DIALOG: Auto-caching hosted 'green-abstract-geometric-wallpaper_52683-29623.jpg' …
2024-01-21 14:57:37 -
I also got a working dialog with welcomeDialog set to userInput
with the same lines.
I have to say that it is now much faster to display the dialog. I think we can call this closed.
Addressed in SYM 1.14.0
.
Describe the bug When I set
welcomeDialog="false"
I still get the test for thewelcomeBannerImage
To Reproduce I am running the script from iTerm as
sudo ./Setup-Your-Mac-via-Dialog.bash
welcomeDialog
is set tofalse
debugMode
is set toverbose
Expected behavior I expected that all features surrounding the welcome dialog would be turned off.
Code/log output
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context I'm also seeing "Test Connection" under the icon on the left and it sticks. I haven't done much to pin that down yet.