07-31-2021, 10:56 AM
(07-30-2021, 11:19 PM)mark_talluto Wrote: Hi Stam,
You did everything correctly. The process of code-signing and notarizing is complicated. I can see that you navigated it well.
You can solve the problem you are experiencing by doing the following:
- 1. On the first run, copy the relevant parts of your project (everything after the starter stack) over to a safe and writeable place.
- 2. Run the code from the writeable locationa.
- a. Macs: specialFolderPath("asup")
- b. Windows: specialFolderPath(26)
Yep, developing for Apple has become more complex. All of our shipping apps use this method. LCM (Win version) is designed to be a portable app and thus does not use specialFolderPath(26). It instead writes to files and folders next to the .exe.
- 3. Have your pathing point to that location when the environment <> "development"
Should you decide to codesign your Windows apps, then SFP(26) will be useful. Our 2020 Vision product uses that location.
I hope this helps
-Mark
Thanks Mark,
Not sure i understand why Application Support would work when Documents fails, as both are writeable locations?
Anyway, will try...