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: native distribution #3171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sgpublic
Copy link

@sgpublic sgpublic commented Jul 5, 2024

如题,利用 Compose Multiplatform 提供原生构建支持,目标格式:dmg、exe、msi、deb。

已在以下平台测试:

  • macOS 14.4.1, x64, Java 17.0.11(黑果)
  • Windows 11, x64, Java 17.0.9
  • Debian 12.5.0, x64, Java 17.0.8

使用 packageReleaseDmgpackageReleaseExepackageReleaseMsipackageReleaseDeb 即可构建,输出目录为 <rootProject>/HMCLauncher/build/compose/binaries/main-app/<target format>

相关文档:Native distributions & local execution

@sgpublic sgpublic marked this pull request as ready for review July 5, 2024 13:12
@allMagicNB
Copy link

啊?MSI 不是安装包吗?

@sgpublic
Copy link
Author

sgpublic commented Jul 5, 2024

啊?MSI 不是安装包吗?

就是构建为原生安装包,这样打包出来的可以直接启动而不需要提前下载 jre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants