Commit a14063e
committed
fix(prefix,shortcuts,setup): skip installed winetricks verbs; install-shortcut all --reinstall
prefix.sh: pre-fetch 'winetricks list-installed' once before the fast verb loop. Verbs already present are printed as 'already installed' and skipped with no winetricks invocation. Only missing verbs go through the install+retry path. Saves the full re-install time on wig init / wig quick when the prefix is already set up.
shortcuts.sh: create_all_shortcuts() accepts an optional --reinstall flag. Without it (current behaviour) only launchers with a detectable exe get shortcuts. With --reinstall, shortcuts are created for all APP_REGISTRY entries regardless of install status — useful for updating the .desktop template (e.g. after the StartupNotify fix) on a fresh or mid-setup prefix.
setup: install-shortcut all --reinstall now routes through create_all_shortcuts --reinstall.1 parent 496a28f commit a14063e
3 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
51 | 59 | | |
52 | 60 | | |
53 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
241 | 246 | | |
242 | 247 | | |
243 | | - | |
| 248 | + | |
244 | 249 | | |
245 | 250 | | |
246 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments