Skip to content

Commit

Permalink
chore: Fix build for dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Nov 24, 2024
1 parent a9773b6 commit 503eaba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/patch-release-note/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ async function main() {
const debArmUrl = `https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-arm64.deb`
const appImageUrl = `https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-x86_64.AppImage`
const appImageArmUrl = `https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-arm64.AppImage`
const darwinZipUrl = `https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-darwin-x64.zip`

content += `\n\n## Downloads\n\n`
content += `- Windows (x64): [zip](https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-win32-x64.zip)\n`
content += `- Linux (x64): [AppImage](${appImageUrl}) [deb](${debUrl}) [tar.xz](${tarUrl}) [rpm](${rpmUrl})\n`
content += `- Linux (arm64): [AppImage](${appImageArmUrl}) [deb](${debArmUrl}) [tar.xz](${tarArmUrl}) [rpm](${rpmArmUrl})\n`
content += `- Mac (x64): [dmg](https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}.dmg) [zip](${darwinZipUrl})\n`
content += `- Mac (arm64): [zip](https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-darwin-arm64.zip)\n`
content += `- Mac (x64): [dmg](https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-x64.dmg)\n`
content += `- Mac (arm64): [dmg](https://github.com/Voxelum/x-minecraft-launcher/releases/download/v${version}/xmcl-${version}-arm64.dmg)\n`

core.setOutput('body', content)
}
Expand Down
1 change: 1 addition & 0 deletions xmcl-electron-app/build/electron-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const config = {
arch: ['arm64', 'x64'],
},
],
artifactName: 'xmcl-${version}-${arch}.${ext}',
extendInfo: {
NSMicrophoneUsageDescription: 'A Minecraft mod wants to access your microphone.',
NSCameraUsageDescription: 'Please give us access to your camera',
Expand Down

0 comments on commit 503eaba

Please sign in to comment.