You should never write inside an application bundle. (Thank the malware
writers for these restrictions.)
On macOS your writable files should go somewhere under /Library/Application
Support/ or ~/Library/Application Support/
On Windows you should write to somewhere under %ProgramData%, %APPDAT
Hi Andrey,
Writing to /Application on macOS or "Program Files" on Windows requires
admin privileges. It is very uncommon when application stores temp files
or setting files modifiable by user inside installation folder. For temp
files I will recommend to use system provided temp folder. For s
Hello.
I use jpackage (Build 14-jpackage+1-35) to bundle my Swing-based app for
MacOS. Whereas DMG format works pretty well, PGK bundle has a serious
issue. When I install the app from PKG, it cannot write files or create
directories inside itself.
I have /resource directory for my app that has a