Nik
07/19/2021, 1:17 PMResources
folder for the macOS .DMG from our build.gradle.kts
? I have an application which performs file I/O (ultimately to run .sh
scripts for a variety of tasks) and I’m having trouble locating those files once the application is installed, as File(".")
gives me the macOS root directory /
, not the same file structure as when running the application in IntelliJ.svg
files from my Composables would succeed with a path like "raw/image.svg"
where the original file is at "src/main/resources/raw/image.svg"
, meaning there must be some difference in how the svgResource(…)
method is accessing project files and how File(…)
is doing itsrc/main/resources
file to /Applications/{your app}.app/Contents/Resources/resources
jim
07/19/2021, 4:59 PMsaket
07/20/2021, 3:11 PMNik
07/20/2021, 3:12 PM