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
When (re)building the binarys the Build-Script will fail if the previouly build .dmg file is still mounted.
Steps to reproduce the behavior:
Build the binarys
Open the .dmg file
Close the file (Closing won't actually unmount it)
Build again
Expected behavior
I think there should be an exception preventing this.
Either it should check if previously the created .dmg is still mounted and exit with corresponding error-message or (better) it should try to unmount it.
While building the script will actually mount the new .dmg file and unmount it again. So unmounting it with the same process as in tauri/tooling/bundler/src/bundle/templates/dmg/bundle_dmg Line 360 should be possible as long as names dont change.
# unmount
echo "Unmounting disk image..."
hdiutil detach "${DEV_NAME}"
When (re)building the binarys the Build-Script will fail if the previouly build .dmg file is still mounted.
Steps to reproduce the behavior:
Expected behavior
I think there should be an exception preventing this.
Either it should check if previously the created .dmg is still mounted and exit with corresponding error-message or (better) it should try to unmount it.
While building the script will actually mount the new .dmg file and unmount it again. So unmounting it with the same process as in tauri/tooling/bundler/src/bundle/templates/dmg/bundle_dmg Line 360 should be possible as long as names dont change.
OS: macOS 11.2.3 / M1
Node: 15.12.0
NPM: 7.6.3
Rustc: 1.51.0
The text was updated successfully, but these errors were encountered: