Coming from Android -- when building a desktop app...
# compose-desktop
u
Coming from Android -- when building a desktop app, where should I put my database? Or rather, where should app private files go? Is there such thing the way mobile apps have it? (deleted on uninstall and ideall not accessable without root) Is it a
.myApp
hidden folder in user home? Or there maybe manually create
~/Library/foo.bar.myapp
. on a mac? appData/local for Windows? or maybe there is a java api which abstracts this away?
m
I use https://github.com/harawata/appdirs in my application for this
a
I also use AppDirs. Works like a charm.