You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently discovered that our Electron app is not properly installed at the /Applications directory after auto-update. The app does exist in the Applications directory, however it is still translocated.
Steps followed:
Install app via drag-and-drop in Finder to /Applications
Launch app with update available (app is not translocated)
Close application, Squirrel/ShipIt installs the new version (overwriting in the directory /Applications)
Launch updated app, app is translocated
This unfortunately causes future updates to not occur, as the app ends up running from a read-only disk image due to translocation.
The underlying cause of this issue seems to be related to using the rename(2) system call in installItemToURL to move the application from the temp directory back to /Applications.
I have recently discovered that our Electron app is not properly installed at the
/Applications
directory after auto-update. The app does exist in the Applications directory, however it is still translocated.Steps followed:
Install app via drag-and-drop in Finder to
/Applications
Launch app with update available (app is not translocated)
Close application, Squirrel/ShipIt installs the new version (overwriting in the directory
/Applications
)Launch updated app, app is translocated
This unfortunately causes future updates to not occur, as the app ends up running from a read-only disk image due to translocation.
The underlying cause of this issue seems to be related to using the
rename(2)
system call ininstallItemToURL
to move the application from the temp directory back to/Applications
.The text was updated successfully, but these errors were encountered: