Alex Styl
03/20/2025, 6:39 AMRes.getUri()
and it works great when i ./gradlew run
, but when i run in release ./gradlew runRelease
I get Missing resource with path
Colton Idle
03/20/2025, 4:27 PMconveyor make site
)
but when I do that (where i get release/notarized builds on mac) I don't have any issues with these two resource calls
val iconPath2 = Res.getUri("files/clock.png")
Res.readBytes("files/credentials.json")
When I get a sec. I can try to do run and runRelease on my same project and see if i get similar issues as you. FWIW. I'm using 1.7.3
of compose multiplatform.Marcin Wisniowski
03/21/2025, 9:15 PMRes.getUri()
is just put them in normal java resources
instead of using Compose resources.Alex Styl
03/22/2025, 4:27 AMobject TempObject
val path = TempObject::class.java.protectionDomain.codeSource.location.toURI().path
val jarFile = JarFile(path)
val allFiles = jarFile.entries().toList()
Alex Styl
03/29/2025, 5:20 AM