Enhance Cross-Platform Argument Handling for Nitro Startup Scripts (#674)
* Patch all argument of bat script to nitro command run --------- Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
parent
0dd70824e8
commit
fe3d682530
@ -2,11 +2,11 @@
|
||||
|
||||
rem Attempt to run nitro_windows_amd64_cuda.exe
|
||||
cd win-cuda
|
||||
nitro.exe
|
||||
nitro.exe %*
|
||||
|
||||
rem Check the exit code of the previous command
|
||||
if %errorlevel% neq 0 (
|
||||
echo nitro_windows_amd64_cuda.exe encountered an error, attempting to run nitro_windows_amd64.exe...
|
||||
cd ..\win-cpu
|
||||
nitro.exe
|
||||
nitro.exe %*
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user