Commit 9a0f2de
authored
feat: multi-sim support (#512)
* feat: add new per-sim setting variables
* feat: msfs2024 base path detection
* feat: wip managed sim selector
* feat: managedSimSelector switches variable
* feat: some fancy styling
* refactor: make prettier happy
* feat: only switch between enabled sims
* refactor: some code optimization
* refactor: more type safety
* refactor: even safer
* feat: restrict enabling and disabling simulators & autoswitch
* refactor: shorten function name
* feat: filter addons by simulator
* fix: select first available addon when switching sim
* feat: wip directory handling
* fix: error handling
* fix: error handling
* refactor: move initial msfs path setup functions to install path utils
* fix: temp handling
* refactor: simplify base path handling
* refactor: remove unused function
* refactor: safer code
* feat: indent temp path setting
* fix: remove unexpected temp location behavior
* fix: error handling of uninstalled simulators
* feat: handling of no installed simulator
* feat: use OS Temp as default temp directory
* fix: mistakes
* feat: temp location error handling
* fix: missing arguments
* refactor: remove unnecessary check
* refactor: remove import
* fix: missing arguments
* fix: handle no previously selected simulator
* fix: standardize error modal buttons
* fix: MSFS2024 SU2 changes to UserCfg.opt
* refactor: use cn to combine twMerge with clsx
* refactor: explicitly type possibleBasePaths
* refactor: acceptance of raw strings for Simulator type no longer required
* Revert "refactor: acceptance of raw strings for Simulator type no longer required"
This reverts commit 22e07e1.
* refactor: double import
* feat: use null instead of C:\ for nonexitent path
* fix: unintentional import
* refactor: ErrorModal
* refactor: ErrorModal pt.2
* fix: regex match keys that include a hyphen
* feat(local config): add A380X and SimBridge for MSFS2024
* docs: add changelog1 parent 60e9f65 commit 9a0f2de
29 files changed
Lines changed: 1295 additions & 379 deletions
File tree
- .github
- src/renderer
- actions
- assets
- components
- AddonSection
- Configure
- MyInstall
- App
- ErrorModal
- LocalApiConfigEditUI
- SettingsSection
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
5 | 74 | | |
6 | 75 | | |
7 | 76 | | |
| |||
18 | 87 | | |
19 | 88 | | |
20 | 89 | | |
21 | | - | |
22 | | - | |
| 90 | + | |
| 91 | + | |
23 | 92 | | |
24 | 93 | | |
25 | | - | |
| 94 | + | |
26 | 95 | | |
27 | 96 | | |
28 | | - | |
| 97 | + | |
29 | 98 | | |
30 | 99 | | |
31 | 100 | | |
| |||
34 | 103 | | |
35 | 104 | | |
36 | 105 | | |
37 | | - | |
| 106 | + | |
38 | 107 | | |
39 | 108 | | |
40 | 109 | | |
41 | 110 | | |
42 | 111 | | |
43 | 112 | | |
44 | 113 | | |
45 | | - | |
46 | | - | |
| 114 | + | |
| 115 | + | |
47 | 116 | | |
48 | | - | |
49 | | - | |
| 117 | + | |
| 118 | + | |
50 | 119 | | |
51 | 120 | | |
52 | 121 | | |
53 | 122 | | |
54 | 123 | | |
55 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
56 | 129 | | |
57 | 130 | | |
58 | | - | |
59 | | - | |
| 131 | + | |
| 132 | + | |
60 | 133 | | |
61 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
62 | 139 | | |
63 | 140 | | |
64 | | - | |
65 | | - | |
| 141 | + | |
| 142 | + | |
66 | 143 | | |
67 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
68 | 149 | | |
69 | 150 | | |
70 | 151 | | |
71 | | - | |
| 152 | + | |
72 | 153 | | |
73 | 154 | | |
74 | 155 | | |
Loading
Loading
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
120 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
124 | | - | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
227 | 232 | | |
228 | 233 | | |
229 | 234 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
| |||
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
299 | | - | |
300 | | - | |
301 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
302 | 304 | | |
303 | 305 | | |
304 | 306 | | |
| |||
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
| 320 | + | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
| |||
0 commit comments