compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Linux gradlew desktop:packageMsi /desktop:packageExe

Open ThraaxSession opened this issue 2 years ago • 2 comments

Describe the bug When running gradlew desktop:packageMsi; gradlew desktop:packageExe it's successful, but nothing is built. I also installed msitools. But it has no affection.

Affected platforms Select one of the platforms below:

  • Desktop

If the bug is Android-only, report it in the Jetpack Compose tracker

Versions

  • Kotlin version*: 1.8.10
  • Compose Multiplatform version*: 1.3.1
  • OS version(s)* (required for Desktop and iOS issues): WSL2 Debian
  • OS architecture (x86 or arm64): amd64
  • JDK (for desktop issues): OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 17.0.5+8-jvmci-22.3-b08, mixed mode, sharing)

To Reproduce Steps and/or the code snippet to reproduce the behavior:

  1. Install WSL 2 Debian
  2. navigate to your local windows project
  3. run above commands

Expected behavior It's possible to cross-compile Compose Desktop from Linux to Windows.

Screenshots gradlew desktop:packageMsi image

gradlew desktop:packageExe image

ThraaxSession avatar Mar 25 '23 08:03 ThraaxSession

I believe that packaging to Windows distros is not supported on Linux but at least the gradle plugin should clearly report it.

pjBooms avatar Mar 27 '23 17:03 pjBooms

I would also expect a clear report. At least. :D but it would be more awesome to have cross compile. Can you tell me if it somehow works from Linux to Windows? @pjBooms

ThraaxSession avatar Mar 27 '23 19:03 ThraaxSession