Commit e778d21
committed
fix(installer): reinstall when current version directory is incomplete
The same-version check now verifies that the binary (current/bin/vp.exe)
actually exists, not just that the current symlink points at the target
version. If the version directory is corrupted or partially deleted,
the installer performs a full reinstall instead of skipping to the
best-effort repair steps which cannot restore missing core files.1 parent e8054c9 commit e778d21
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
0 commit comments