Commit 6efc085
committed
fix(software): fall back to 7-Zip when the NanaZip release API is unreachable
Under the module's Set-StrictMode, a null response from the NanaZip releases API
(e.g. GitHub unreachable) made $githubApi.Assets throw, skipping the intended
7-Zip fallback. Guard the Assets access so an unreachable API falls back cleanly.1 parent e7fcbc1 commit 6efc085
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
338 | 341 | | |
339 | 342 | | |
340 | 343 | | |
| |||
0 commit comments