Hi, I'm trying to find a way to bundle assets (aap...
# compose-desktop
p
Hi, I'm trying to find a way to bundle assets (aapt, adb, android.jar, etc.) with the dmg and exe files, is there an easy way to do this?
👀 2
c
Compose uses the jpackage utility, so every solution that works for that will work here. Why do you want to bundle ADB into a desktop app, though?
p
So I can install a Runtime Resource Overlay
c
Isn't that only for Android?
p
I'm creating a desktop app that is a tool to customize an android app based on attributes. The tool generates an RRO which is then pushed to a device and another app is customized.
c
I see. Depending on your needs, you could probably include your files in your resource directory for them to be included in the JAR?
There's probably also a specific solution for jpackage, but I guess the resource route should work anywhere
p
It's actually not a jar, but a dmg (macos) and exe (windows)
b
Doesn't matter, it's built from a jar via jpackage
👍 1