From 5cbd841435d19c24a6f0c1453615ba45ce7bdbfc Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 10 Nov 2024 05:10:29 +0800 Subject: [PATCH] update brew --- .gitconfig_macOS | 2 -- .npmrc | 4 ++-- install.sh | 6 +++--- install_brew_cask.sh | 8 ++++---- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitconfig_macOS b/.gitconfig_macOS index 5956400..770f1a4 100644 --- a/.gitconfig_macOS +++ b/.gitconfig_macOS @@ -9,7 +9,5 @@ [github] user = oauth-token = -# [credential] -# helper = osxkeychain # [http "https://github.com"] # proxy = http://127.0.0.1:7890 \ No newline at end of file diff --git a/.npmrc b/.npmrc index e3c61be..962e410 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,2 @@ -# registry=https://registry.npm.taobao.org -registry https://registry.npmmirror.com +# registry https://registry.npmmirror.com +registry=https://registry.npm.taobao.org diff --git a/install.sh b/install.sh index 7c37d41..7a06b65 100755 --- a/install.sh +++ b/install.sh @@ -166,9 +166,9 @@ if is_mac && ! command -v brew >/dev/null 2>&1; then # Install homebrew # Use mirror - export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.bfsu.edu.cn/git/homebrew/brew.git" - export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-core.git" - export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.bfsu.edu.cn/homebrew-bottles" + export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git" + export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git" + export HOMEBREW_INSTALL_FROM_API=1 # /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/Homebrew/install@HEAD/install.sh)" diff --git a/install_brew_cask.sh b/install_brew_cask.sh index fcdf7aa..1ec7ee8 100755 --- a/install_brew_cask.sh +++ b/install_brew_cask.sh @@ -28,12 +28,12 @@ apps=( veracrypt # File crypt # foobar2000 # Music player: vox squirrel # Pinyin Input: sogouinput - handbrake # Video Transcoder: transcoder + # handbrake # Video Transcoder: transcoder # Utilities - clash-rev-verge # Proxy: v2rayx, shadowsocksx-ng-r + clash-verge-rev # Proxy: v2rayx, shadowsocksx-ng-r macgesture # Mouse gestures - monitorcontrol # Controls external display brightness and volume + # monitorcontrol # Controls external display brightness and volume mos # Smooth and reverse scroll motrix # Downloader: ariang microsoft-edge # Browser: google-chrome @@ -48,7 +48,7 @@ apps=( neteasemusic iina listen1 # yesplaymusic - zy-player + # streammusic zy-player # Development # docker # optional