JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
16.24k stars 1.18k forks source link

Provide a way to include files in the app's content directory (not resource directory) #2463

Closed alexstyl closed 1 month ago

alexstyl commented 2 years ago

I am trying to include an appex file in my MacOS app so that my Jetpack Compose app supports 'share to' capability.

Right now, there is no way to include the appex file within the .app/Contents directory. Even though there is a way to include more resources, those files are copied in the .app/Contents/app directory which cannot be used to match the structure apps expect to have.

Electron packing apps (such as electron-builder) provide a property which allows users to include files they want in their packaged applications.

As a suggestion, there could be a new property similar to electron-builder's extraFiles that can be used to include files into the app's content directory.

okushnikov commented 2 months ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.