tidev / titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
https://titaniumsdk.com/
Other
2.76k stars 1.21k forks source link

chore(android): try/catch around unlink snapshots #14000

Closed m1ga closed 7 months ago

m1ga commented 9 months ago

Same as the unlink a few lines before: adding a try/catch around in case the file is not there.

Happened a few time when I've switched branches and did a cleanbuild where it downloaded the v8 again.

m1ga commented 7 months ago

@hansemannn can we merge this one please. Really bugs me when testing different branches :smile: The file is not there and it tries to remove it. It just adds a try/catch (as some lines above it) so for normal builds it won't change anything. Have to do it by hand at the moment.

Just a Linux SDK thing anyway since it is in generateSnapshot which only runs on Linux.