mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-06-22 20:49:15 +08:00
58 lines
2.0 KiB
TypeScript
58 lines
2.0 KiB
TypeScript
export const tencentMirror = {
|
|
brew: 'https://mirrors.cloud.tencent.com/homebrew/brew.git',
|
|
core: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-core.git',
|
|
linuxCore: 'https://mirrors.cloud.tencent.com/homebrew/linuxbrew-core.git',
|
|
cask: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-cask.git',
|
|
bottles: 'https://mirrors.cloud.tencent.com/homebrew-bottles/bottles',
|
|
linuxBottles: '',
|
|
};
|
|
|
|
export const tsinghuaMirror = {
|
|
brew: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git',
|
|
core: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git',
|
|
linuxCore:
|
|
'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/linuxbrew-core.git',
|
|
cask: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git',
|
|
bottles: 'https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles',
|
|
linuxBottles:
|
|
'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles',
|
|
};
|
|
|
|
export const ustcMirror = {
|
|
brew: 'https://mirrors.ustc.edu.cn/brew.git',
|
|
core: 'https://mirrors.ustc.edu.cn/homebrew-core.git',
|
|
linuxCore: 'https://mirrors.ustc.edu.cn/linuxbrew-core.git',
|
|
cask: 'https://mirrors.ustc.edu.cn/homebrew-cask.git',
|
|
bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles',
|
|
linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles',
|
|
};
|
|
|
|
export const bfsuMirror = {
|
|
brew: 'https://mirrors.bfsu.edu.cn/git/homebrew/brew.git',
|
|
core: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-core.git',
|
|
linuxCore: 'https://mirrors.bfsu.edu.cn/git/homebrew/linuxbrew-core.git',
|
|
cask: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-cask.git',
|
|
bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles',
|
|
linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles',
|
|
};
|
|
|
|
export const mirrorData: { [key: string]: any } = {
|
|
bfsuMirror,
|
|
ustcMirror,
|
|
tencentMirror,
|
|
tsinghuaMirror,
|
|
};
|
|
|
|
export enum Mirror {
|
|
BFSU = 'bfsu',
|
|
Tsinghua = 'tsinghua',
|
|
Tencent = 'tencent',
|
|
USTC = 'ustc',
|
|
}
|
|
|
|
export enum Platform {
|
|
MacOS,
|
|
Linux,
|
|
Windows,
|
|
}
|