Squirrel / Squirrel.Mac

:shipit: Cocoa framework for updating OS X apps :shipit:
MIT License
1.57k stars 128 forks source link

fix: Fix file perms for URLs. #254

Closed devinfoley closed 3 years ago

devinfoley commented 3 years ago

When Squirrel attempts to launch ShipIt, it passes in the log file locations. If these files exist, but aren't writeable, ShipIt will fail to launch. This code enables us to specify that we'd like a writable URL, wherein we append integers to the end of the filename until we find a writeable file.