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

[Feature Request] Package assets in native #29

Closed
GiantNuker opened this issue Mar 31, 2019 · 2 comments
Closed

[Feature Request] Package assets in native #29

GiantNuker opened this issue Mar 31, 2019 · 2 comments

Comments

@GiantNuker
Copy link

Basically put all the assets, which currently need to be in the same folder as the executable, in the executable.

@soywiz
Copy link
Member

soywiz commented Nov 24, 2019

Would be possible to do using either:
https://github.com/JetBrains/kotlin-native/blob/61bed4965da3ecd2da2bef67327a3936c7fee5ad/runtime/src/main/kotlin/kotlin/native/Blob.kt#L86

Or inside Hexadecimal, or base64 strings. Appending an embedding filesystem at the end of the exe file usually also works but that's much more hacky.

@soywiz
Copy link
Member

soywiz commented Dec 1, 2019

Moved to korlibs/korge-plugins#1 since this could/should be implemented via gradle with an additional .kt file

@soywiz soywiz closed this as completed Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants