Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cross-platform support for Mac #53

Merged
merged 1 commit into from
Oct 25, 2023
Merged

feat: add cross-platform support for Mac #53

merged 1 commit into from
Oct 25, 2023

Conversation

AuroraZiling
Copy link
Contributor

a) Install the missing rust target for Apple silicon & Intel-based machines):
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin
b) Build:
tauri build --target aarch64-apple-darwin (apple silicon)
tauri build --target x86_64-apple-darwin (intel)
tauri build --target universal-apple-darwin (both but larger)

Double click ./src-tauri/target/aarch64-apple-darwin/release/TeyvatGuide to run (on apple silicon)

@BTMuli BTMuli self-assigned this Oct 25, 2023
@BTMuli BTMuli added the 新特性 New feature or request label Oct 25, 2023
@BTMuli BTMuli added this to the BetaTarget milestone Oct 25, 2023
@BTMuli
Copy link
Owner

BTMuli commented Oct 25, 2023

参考 Tauri 文档,可以在

"targets": ["msi"],
"windows": {
"wix": {
"language": "zh-CN"
}
}
},

添加对应 target

@BTMuli
Copy link
Owner

BTMuli commented Oct 25, 2023

/WIP

@whitetea-bot whitetea-bot bot added 计划中 Something will be done and removed 待处理 labels Oct 25, 2023
@BTMuli BTMuli merged commit 20113cf into BTMuli:master Oct 25, 2023
1 check failed
@BTMuli
Copy link
Owner

BTMuli commented Oct 25, 2023

/done

@whitetea-bot whitetea-bot bot added 待发布 Function is update in next version and removed 计划中 Something will be done labels Oct 25, 2023
@BTMuli BTMuli removed the 待发布 Function is update in next version label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
新特性 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants