Yeah, that’s the guide I’ve been following. I have this in the build.gradle.kts:
tasks.withType<AbstractJPackageTask>().all {
freeArgs.add("--file-associations")
freeArgs.add(project.file("tdlx.properties").absolutePath)
}
and this in that file
mime-type=application/vnd.sqlite3
extension=tdlx
description=Tidal Game Document
I’ve verified the build is finding the file and it looks like it’s being added to whatever Gradle is doing, as I see the args added to
build/compose/tmp/packageDmg.args.txt
. But after installing the DMG, it’s still not able to open the file with my app. But I’ve never made any other desktop apps so I really don’t know if this is something I’m doing wrong, or if there’s something with how Compose is running jpackage that’s the problem