Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Jan 14, 2025
1 parent b821cdc commit d5d4776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
API_URL: ${{ secrets.API_URL }}
API_KEY: ${{ secrets.API_KEY }}
run: |
TEXT=$(git log v$(jq -r .version package.json)..HEAD --pretty=format:%s | grep -v '[0-9]\+\.[0-9]\+\.[0-9]\+$' | sed ':a;N;$!ba;s/\n/\\n/g')
TEXT=$(git log $(jq -r .version package.json)..HEAD --pretty=format:%s | grep -v '[0-9]\+\.[0-9]\+\.[0-9]\+$' | sed ':a;N;$!ba;s/\n/\\n/g')
QUESTION="Translate into Chinese:\n"""\n$TEXT\n""""
PAYLOAD=$(cat <<EOF
{
Expand Down
3 changes: 1 addition & 2 deletions src/main/resolve/autoUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ 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/xishang0128/mihomo-party/releases/download/v${version}/`
const baseUrl = `https://github.com/xishang0128/mihomo-party/releases/download/${version}/`
const fileMap = {
'win32-x64': `mihomo-party-windows-${version}-x64-setup.exe`,
'win32-ia32': `mihomo-party-windows-${version}-ia32-setup.exe`,
'win32-arm64': `mihomo-party-windows-${version}-arm64-setup.exe`,
'darwin-x64': `mihomo-party-macos-${version}-x64.pkg`,
'darwin-arm64': `mihomo-party-macos-${version}-arm64.pkg`
Expand Down

0 comments on commit d5d4776

Please sign in to comment.