diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8883021..ba78c3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -234,14 +234,14 @@ jobs: - name: Update Checksums if: matrix.pkgname == 'mihomo-party' || matrix.pkgname == 'mihomo-party-electron' run: | - wget https://github.com/pompurin404/mihomo-party/archive/refs/tags/$(echo ${{ github.ref }} | tr -d 'refs/tags/').tar.gz -O release.tar.gz + wget https://github.com/mihomo-party-org/mihomo-party/archive/refs/tags/$(echo ${{ github.ref }} | tr -d 'refs/tags/').tar.gz -O release.tar.gz sed -i "s/sha256sums=.*/sha256sums=(\"$(sha256sum ./release.tar.gz | awk '{print $1}')\"/" aur/mihomo-party/PKGBUILD sed -i "s/sha256sums=.*/sha256sums=(\"$(sha256sum ./release.tar.gz | awk '{print $1}')\"/" aur/mihomo-party-electron/PKGBUILD - name: Update Checksums if: matrix.pkgname == 'mihomo-party-bin' || matrix.pkgname == 'mihomo-party-electron-bin' run: | - wget https://github.com/pompurin404/mihomo-party/releases/download/$(echo ${{ github.ref }} | tr -d 'refs/tags/')/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-amd64.deb -O amd64.deb - wget https://github.com/pompurin404/mihomo-party/releases/download/$(echo ${{ github.ref }} | tr -d 'refs/tags/')/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-arm64.deb -O arm64.deb + wget https://github.com/mihomo-party-org/mihomo-party/releases/download/$(echo ${{ github.ref }} | tr -d 'refs/tags/')/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-amd64.deb -O amd64.deb + wget https://github.com/mihomo-party-org/mihomo-party/releases/download/$(echo ${{ github.ref }} | tr -d 'refs/tags/')/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-arm64.deb -O arm64.deb sed -i "s/sha256sums_x86_64=.*/sha256sums_x86_64=(\"$(sha256sum ./amd64.deb | awk '{print $1}')\")/" aur/mihomo-party-bin/PKGBUILD sed -i "s/sha256sums_aarch64=.*/sha256sums_aarch64=(\"$(sha256sum ./arm64.deb | awk '{print $1}')\")/" aur/mihomo-party-bin/PKGBUILD sed -i "s/sha256sums_x86_64=.*/sha256sums_x86_64=(\"$(sha256sum ./amd64.deb | awk '{print $1}')\")/" aur/mihomo-party-electron-bin/PKGBUILD diff --git a/README.md b/README.md index 972c380..dc8cfea 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@

Another Mihomo GUI

- - + + diff --git a/aur/mihomo-party-bin/PKGBUILD b/aur/mihomo-party-bin/PKGBUILD index 6dd2b73..b0c326e 100644 --- a/aur/mihomo-party-bin/PKGBUILD +++ b/aur/mihomo-party-bin/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.1.3 pkgrel=1 pkgdesc="Another Mihomo GUI." arch=('x86_64' 'aarch64') -url="https://github.com/pompurin404/mihomo-party" +url="https://github.com/mihomo-party-org/mihomo-party" license=('GPL3') conflicts=("$_pkgname" "$_pkgname-git" "$_pkgname-electron" "$_pkgname-electron-bin") conflicts=("mihomo-party-git" 'mihomo-party') diff --git a/aur/mihomo-party-electron-bin/PKGBUILD b/aur/mihomo-party-electron-bin/PKGBUILD index f53daf5..f31d3b8 100644 --- a/aur/mihomo-party-electron-bin/PKGBUILD +++ b/aur/mihomo-party-electron-bin/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.2.2 pkgrel=1 pkgdesc="Another Mihomo GUI." arch=('x86_64' 'aarch64') -url="https://github.com/pompurin404/mihomo-party" +url="https://github.com/mihomo-party-org/mihomo-party" license=('GPL3') conflicts=("$_pkgname" "$_pkgname-git" "$_pkgname-bin" "$_pkgname-electron") depends=('electron' 'gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret') diff --git a/aur/mihomo-party-electron/PKGBUILD b/aur/mihomo-party-electron/PKGBUILD index a8773bb..6d3989f 100644 --- a/aur/mihomo-party-electron/PKGBUILD +++ b/aur/mihomo-party-electron/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.1.3 pkgrel=1 pkgdesc="Another Mihomo GUI." arch=('x86_64' 'aarch64') -url="https://github.com/pompurin404/mihomo-party" +url="https://github.com/mihomo-party-org/mihomo-party" license=('GPL3') conflicts=("$_pkgname" "$_pkgname-git" "$_pkgname-bin" "$_pkgname-electron-bin") depends=('electron' 'gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret') diff --git a/aur/mihomo-party-git/PKGBUILD b/aur/mihomo-party-git/PKGBUILD index 0e52194..dbcabe7 100644 --- a/aur/mihomo-party-git/PKGBUILD +++ b/aur/mihomo-party-git/PKGBUILD @@ -4,7 +4,7 @@ pkgver=0.1.3.r5.g5f5d6dd pkgrel=1 pkgdesc="Another Mihomo GUI." arch=('x86_64' 'aarch64') -url="https://github.com/pompurin404/mihomo-party" +url="https://github.com/mihomo-party-org/mihomo-party" license=('GPL3') conflicts=("$_pkgname" "$_pkgname-bin" "$_pkgname-electron" "$_pkgname-electron-bin") depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret') diff --git a/aur/mihomo-party/PKGBUILD b/aur/mihomo-party/PKGBUILD index 6aaaa4e..04243f1 100644 --- a/aur/mihomo-party/PKGBUILD +++ b/aur/mihomo-party/PKGBUILD @@ -3,7 +3,7 @@ pkgver=0.1.3 pkgrel=1 pkgdesc="Another Mihomo GUI." arch=('x86_64' 'aarch64') -url="https://github.com/pompurin404/mihomo-party" +url="https://github.com/mihomo-party-org/mihomo-party" license=('GPL3') conflicts=("$pkgname-git" "$pkgname-bin" "$pkgname-electron" "$pkgname-electron-bin") depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret') diff --git a/scripts/prepare.mjs b/scripts/prepare.mjs index 6fc6826..6f30cc9 100644 --- a/scripts/prepare.mjs +++ b/scripts/prepare.mjs @@ -264,12 +264,12 @@ const resolveEnableLoopback = () => const resolveSysproxy = () => resolveResource({ file: 'sysproxy.exe', - downloadURL: `https://github.com/pompurin404/sysproxy/releases/download/${arch}/sysproxy.exe` + downloadURL: `https://github.com/mihomo-party-org/sysproxy/releases/download/${arch}/sysproxy.exe` }) const resolveRunner = () => resolveResource({ file: 'mihomo-party-run.exe', - downloadURL: `https://github.com/pompurin404/mihomo-party-run/releases/download/${arch}/mihomo-party-run.exe` + downloadURL: `https://github.com/mihomo-party-org/mihomo-party-run/releases/download/${arch}/mihomo-party-run.exe` }) const resolveSubstore = () => resolveResource({ diff --git a/scripts/telegram.mjs b/scripts/telegram.mjs index 8904de2..2cc7ce9 100644 --- a/scripts/telegram.mjs +++ b/scripts/telegram.mjs @@ -4,7 +4,7 @@ import { readFileSync } from 'fs' const pkg = readFileSync('package.json', 'utf-8') const changelog = readFileSync('changelog.md', 'utf-8') const { version } = JSON.parse(pkg) -let content = `🌟 Mihomo Party v${version} 正式发布\n\n` +let content = `🌟 Mihomo Party v${version} 正式发布\n\n` for (const line of changelog.split('\n')) { if (line.length === 0) { content += '\n' @@ -19,7 +19,7 @@ axios.post(`https://api.telegram.org/bot${process.env.TELEGRAM_BOT_TOKEN}/sendMe text: content, link_preview_options: { is_disabled: false, - url: 'https://github.com/pompurin404/mihomo-party', + url: 'https://github.com/mihomo-party-org/mihomo-party', prefer_large_media: true }, parse_mode: 'HTML' diff --git a/src/main/resolve/autoUpdater.ts b/src/main/resolve/autoUpdater.ts index 77e2ee7..72a6d0e 100644 --- a/src/main/resolve/autoUpdater.ts +++ b/src/main/resolve/autoUpdater.ts @@ -10,7 +10,7 @@ import { existsSync } from 'fs' export async function checkUpdate(): Promise { const { 'mixed-port': mixedPort = 7890 } = await getControledMihomoConfig() const res = await axios.get( - 'https://github.com/pompurin404/mihomo-party/releases/latest/download/latest.yml', + 'https://github.com/mihomo-party-org/mihomo-party/releases/latest/download/latest.yml', { headers: { 'Content-Type': 'application/octet-stream' }, proxy: { @@ -31,7 +31,7 @@ export async function checkUpdate(): Promise { export async function downloadAndInstallUpdate(version: string): Promise { const { 'mixed-port': mixedPort = 7890 } = await getControledMihomoConfig() - const baseUrl = `https://github.com/pompurin404/mihomo-party/releases/download/v${version}/` + const baseUrl = `https://github.com/mihomo-party-org/mihomo-party/releases/download/v${version}/` const fileMap = { 'win32-x64': `mihomo-party-windows-${version}-x64-setup.exe`, 'win32-ia32': `mihomo-party-windows-${version}-ia32-setup.exe`, diff --git a/src/renderer/src/components/base/base-error-boundary.tsx b/src/renderer/src/components/base/base-error-boundary.tsx index c6e1255..fecd0fe 100644 --- a/src/renderer/src/components/base/base-error-boundary.tsx +++ b/src/renderer/src/components/base/base-error-boundary.tsx @@ -13,7 +13,7 @@ const ErrorFallback = ({ error }: FallbackProps): JSX.Element => { size="sm" color="primary" variant="flat" - onPress={() => open('https://github.com/pompurin404/mihomo-party/issues/new/choose')} + onPress={() => open('https://github.com/mihomo-party-org/mihomo-party/issues/new/choose')} > GitHub diff --git a/src/renderer/src/components/updater/updater-modal.tsx b/src/renderer/src/components/updater/updater-modal.tsx index bd06c33..c310013 100644 --- a/src/renderer/src/components/updater/updater-modal.tsx +++ b/src/renderer/src/components/updater/updater-modal.tsx @@ -44,7 +44,7 @@ const UpdaterModal: React.FC = (props) => { size="sm" className="flex" onPress={() => { - open(`https://github.com/pompurin404/mihomo-party/releases/tag/v${version}`) + open(`https://github.com/mihomo-party-org/mihomo-party/releases/tag/v${version}`) }} > 前往下载 diff --git a/src/renderer/src/pages/override.tsx b/src/renderer/src/pages/override.tsx index 362406f..c23ca69 100644 --- a/src/renderer/src/pages/override.tsx +++ b/src/renderer/src/pages/override.tsx @@ -143,7 +143,7 @@ const Override: React.FC = () => { variant="light" size="sm" onPress={() => { - open('https://github.com/pompurin404/override-hub') + open('https://github.com/mihomo-party-org/override-hub') }} > diff --git a/src/renderer/src/pages/settings.tsx b/src/renderer/src/pages/settings.tsx index ce405e4..4ec2e03 100644 --- a/src/renderer/src/pages/settings.tsx +++ b/src/renderer/src/pages/settings.tsx @@ -36,7 +36,7 @@ const Settings: React.FC = () => { className="app-nodrag" title="GitHub 仓库" onPress={() => { - window.open('https://github.com/pompurin404/mihomo-party') + window.open('https://github.com/mihomo-party-org/mihomo-party') }} >