Commit eac9208
Resume failed update feature (#1226)
* [PATCH 1/2] Resume failed download
* [PATCH 2/2] Get proper local directory
* [PATCH 1/2] Fix flashing command prompt during update check
-use GetScriptPath and GetRuntimePath to assign vas in UpdateCheck.lua
-fixes flashing command prompt caused by io.popen
-fall back to "." if unable to determine paths
* [PATCH 2/2] Define scriptPath and runtimePath as local
-preserves original definition, prevents global namespace pollution
* Use local script path
---------
Co-authored-by: Craig Citro <craig@citro.net>1 parent cbec0e2 commit eac9208
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
217 | | - | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
243 | 255 | | |
244 | 256 | | |
245 | 257 | | |
| |||
0 commit comments