Commit b03f0d2
committed
[version update] use LAUNCHER_PATH in triggerUpdate function (#975)
## Summary
For trigger update to work, we need to invoke the "launcher" and not the
"devbox CLI binary".
To do so, we can use the `LAUNCHER_PATH` env-var. And fallback to
"devbox" if in PATH,
or finally as a fail-safe to the prior `os.Executable`.
## How was it tested?
:eyes:
carefully pair-programmed with @mikeland86. We'll test after building
the pre-release
in `0.4.9-dev`.1 parent 00d4182 commit b03f0d2
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
136 | | - | |
137 | | - | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
139 | 142 | | |
| 143 | + | |
140 | 144 | | |
141 | | - | |
| 145 | + | |
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| |||
0 commit comments