diff --git a/apps/aarch64-darwin/apply b/apps/aarch64-darwin/apply index 1c66c7d..96a64f0 100755 --- a/apps/aarch64-darwin/apply +++ b/apps/aarch64-darwin/apply @@ -95,21 +95,7 @@ EOF rm "${FILE_PATH}.bak" } -ask_for_star() { - _print "${YELLOW}Would you like to support my work by starring my GitHub repo? yes/no [yes]: ${NC}" - local response - read -r response - response=${response:-yes} # Set default response to 'yes' if input is empty - if [[ "$response" =~ ^[Yy](es)?$ ]] || [[ -z "$response" ]]; then - if [[ "$OS" == "Darwin" ]]; then - open "https://github.com/dustinlyons/nixos-config" - else - xdg-open "https://github.com/dustinlyons/nixos-config" - fi - fi -} -ask_for_star # Fetch username from the system export USERNAME=$(whoami) diff --git a/apps/x86_64-linux/apply b/apps/x86_64-linux/apply index 57a390c..73f5423 100644 --- a/apps/x86_64-linux/apply +++ b/apps/x86_64-linux/apply @@ -32,21 +32,7 @@ _prompt() { read -r $variable } -ask_for_star() { - _print "${YELLOW}Would you like to support my work by starring my GitHub repo? yes/no [yes]: ${NC}" - local response - read -r response - response=${response:-yes} # Set default response to 'yes' if input is empty - if [[ "$response" =~ ^[Yy](es)?$ ]] || [[ -z "$response" ]]; then - if [[ "$OS" == "Darwin" ]]; then - open "https://github.com/dustinlyons/nixos-config" - else - xdg-open "https://github.com/dustinlyons/nixos-config" - fi - fi -} -ask_for_star # Fetch username from the system export USERNAME=$(whoami)