Closed missinglink closed 1 year ago
Agh, sorry not flush
(which flushes internal buffers to the OS), I meant to say fsync
(which tells the OS to flush its buffers to the physical media).
resolved via RTFM https://sockets.sh/#application-crashes-on-start
When launching the app (immediately after generating it) on MacOS results in the following dialog:
Selecting 'Reopen' allows the app to launch successfully.
Closing the app and relaunching it results in the same behaviour every time, essentially forcing the user to press 'Reopen' in order to successfully launch the app each time.
Looking at the Report log, the pertinent section is:
This is odd since the key seems to be present in the
Info.plist
file:Feels to me like a race condition, I could be way off but shouldn't the
writeFile
function explicitly callflush()
?