capacitor-updater icon indicating copy to clipboard operation
capacitor-updater copied to clipboard

R&D: Should it be possible to delete the currently active bundle?

Open lincolnthree opened this issue 2 years ago • 1 comments

It is currently possible to delete the current active distribution.zip bundle from the local filesystem.

I think it might be safer if this threw an error, but I'm not 100% sure.

What should the behavior be in this scenario where the user deletes the active bundle files? The effect of this is that the app will essentially stop working. Any JS/HTML that has not yet loaded will result in 404 errors once this happens.

lincolnthree avatar May 05 '22 20:05 lincolnthree

Oh yes you are right it shouldn't be possible

riderx avatar May 12 '22 10:05 riderx

Hey @lincolnthree i just added it in V4 beta, thanks for the suggestion

riderx avatar Aug 28 '22 12:08 riderx