Barotrauma

Barotrauma

Lua For Barotrauma
LUA command preventing Barotrauma from launching
I'm trying to get Barotrauma to launch with the launch option command in place. But it's failing to launch with the command in place. I decided to run the command manually and got this as the output:


C:\Windows\system32>cmd /c "curl -L -z Luatrauma.AutoUpdater.win-x64.exe -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

C:\Windows\system32>Starting update...
Downloading patch zip from https://github.com/evilfactory/LuaCsForBarotrauma/releases/download/latest/luacsforbarotrauma_patch_windows_client.zip
Downloaded patch zip to C:/Windows/system32/Luatrauma.AutoUpdater.Temp/patch.zip
Extracted patch zip to C:\Windows\system32
Applying patch...
Failed to find the current Barotrauma.dll
Starting %COMMAND%
Unhandled exception: System.AggregateException: One or more errors occurred. (An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.)
---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo )
at System.Diagnostics.Process.StartCore(ProcessStartInfo )
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo )
at Luatrauma.AutoUpdater.Program.Start()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
at System.Threading.Tasks.Task.Wait()
at Luatrauma.AutoUpdater.Program.Main(String[] args)
Unhandled exception. System.AggregateException: One or more errors occurred. (An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.)
---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo )
at System.Diagnostics.Process.StartCore(ProcessStartInfo )
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo )
at Luatrauma.AutoUpdater.Program.Start()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
at System.Threading.Tasks.Task.Wait()
at Luatrauma.AutoUpdater.Program.Main(String[] args)




Does anyone have any advice to help?
< >
Showing 1-1 of 1 comments
Try this.
cmd /c "curl --ssl-no-revoke -L -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
< >
Showing 1-1 of 1 comments
Per page: 1530 50