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

Private directory path in app.classpath for native build

Open ThraaxSession opened this issue 2 years ago • 3 comments

Describe the bug The installed native application config {APP}.cfg contains in app.classpath a private directory to a pointed jar.

Affected platforms

  • Desktop

Versions

  • Kotlin version*: 1.8.10
  • Compose Multiplatform version*: 1.3.1
  • OS version(s)* (required for Desktop and iOS issues): Windows 11
  • OS architecture (x86 or arm64): amd64
  • JDK (for desktop issues): jbr-17

To Reproduce

  • Build msi/exe
  • Install the application
  • navigate to app/{APP}.cfg of the installed application app.classpath={contains a private directory path} example:
[Application]
app.classpath=D:\Projekte\Uberspace-Projekte\NextUI\desktop\build\compose\tmp\packageMsi\libs\desktop-jvm-1.0-SNAPSHOT-23a5a518520229082576a999823b2c.jar

Expected behavior As I can delete this jar (just gradle clean) it seems not to be used somehow. Therefore I expect to remove it.

ThraaxSession avatar Mar 22 '23 21:03 ThraaxSession

Please check if other platforms are also affected. I didn't have time yet to check Linux.

ThraaxSession avatar Mar 23 '23 09:03 ThraaxSession

Hi @AlexeyTsvetkov I think it's general the package behavior. I built and unpacked the package with dpkg-deb The Deb package is also affacted: image

ThraaxSession avatar Mar 25 '23 08:03 ThraaxSession

I have a same problem. How can i fix it?

siyovushdev avatar Apr 18 '23 12:04 siyovushdev