Skip to content

Commit

Permalink
Shortened browser arg checks
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Feb 20, 2025
1 parent cef418b commit 44386be
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions brave-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions chatgpt-auto-continue/utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions chatgpt-infinity/utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions chatgpt-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions chatgpt-widescreen/utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions deepseek-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions phind-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions utils/bump/extension-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down
4 changes: 2 additions & 2 deletions you.com-omnibox/utils/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BW="\033[1;97m" # bright white

# Parse ARGS
for arg in "$@" ; do case "$arg" in
--chrome|--chromium) chromium_only=true ;;
--firefox|--ff) ff_only=true ;;
*chrom*) chromium_only=true ;;
*f*f*) ff_only=true ;;
--no-commit) no_commit=true ;;
--no-push) no_push=true ;;
*) echo -e "${BR}Invalid argument: $arg.${NC}" && exit 1 ;;
Expand Down

0 comments on commit 44386be

Please sign in to comment.