Skip to content

Commit

Permalink
1.5.13
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Dec 21, 2024
1 parent 8abce96 commit 1e36773
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
body_path: changelog.md
token: ${{ secrets.GITHUB_TOKEN }}

artifact:
prerelease:
if: startsWith(github.ref, 'refs/heads/')
needs: [windows, linux, macos]
runs-on: ubuntu-latest
Expand All @@ -191,7 +191,7 @@ jobs:
bin/*
prerelease: true

updater:
release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [windows, macos, linux]
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "1.5.12",
"version": "1.5.13",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party-org",
Expand Down
2 changes: 1 addition & 1 deletion scripts/updater.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { readFileSync, writeFileSync } from 'fs'
const pkg = readFileSync('package.json', 'utf-8')
let changelog = readFileSync('changelog.md', 'utf-8')
const { version } = JSON.parse(pkg)
const downloadUrl = `https://github.com/mihomo-party-org/mihomo-party/releases/download/v${version}`
const downloadUrl = `https://github.com/xishang0128/mihomo-party/releases/download/v${version}`
const latest = {
version,
changelog
Expand Down
4 changes: 2 additions & 2 deletions src/main/resolve/autoUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { promisify } from 'util'
export async function checkUpdate(): Promise<IAppVersion | undefined> {
const { 'mixed-port': mixedPort = 7890 } = await getControledMihomoConfig()
const res = await axios.get(
'https://github.com/mihomo-party-org/mihomo-party/releases/latest/download/latest.yml',
'https://github.com/xishang0128/mihomo-party/releases/latest/download/latest.yml',
{
headers: { 'Content-Type': 'application/octet-stream' },
proxy: {
Expand All @@ -35,7 +35,7 @@ export async function checkUpdate(): Promise<IAppVersion | undefined> {

export async function downloadAndInstallUpdate(version: string): Promise<void> {
const { 'mixed-port': mixedPort = 7890 } = await getControledMihomoConfig()
const baseUrl = `https://github.com/mihomo-party-org/mihomo-party/releases/download/v${version}/`
const baseUrl = `https://github.com/xishang0128/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`,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/updater/updater-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const UpdaterModal: React.FC<Props> = (props) => {
size="sm"
className="flex app-nodrag"
onPress={() => {
open(`https://github.com/mihomo-party-org/mihomo-party/releases/tag/v${version}`)
open(`https://github.com/xishang0128/mihomo-party/releases/tag/v${version}`)
}}
>
前往下载
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Settings: React.FC = () => {
className="app-nodrag"
title="GitHub 仓库"
onPress={() => {
window.open('https://github.com/mihomo-party-org/mihomo-party')
window.open('https://github.com/xishang0128/mihomo-party')
}}
>
<IoLogoGithub className="text-lg" />
Expand Down

0 comments on commit 1e36773

Please sign in to comment.