Compare commits

...

2 Commits

Author SHA1 Message Date
VewDev
bd3b147002 fix: broken updater (!35)
Fix an error where the updater doesn't work by throwing a missing method exception.

This is caused by the UpdateClient package not being bumped along with the Common one, causing a mismatch in methods.

Fixes https://github.com/Ryubing/Issues/issues/358

Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/35
2026-04-25 11:48:52 +00:00
LotP
b3ac7a2b94 fix arg parsing (!34)
fixes parsing of args with spaces

Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/34
2026-04-24 23:08:29 +00:00
2 changed files with 8 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.AllArch" Version="6.1.2-build3" />
<PackageVersion Include="Ryujinx.Graphics.Vulkan.Dependencies.MoltenVK" Version="1.2.0" />
<PackageVersion Include="Ryujinx.LibHac" Version="0.21.0-alpha.129" />
<PackageVersion Include="Ryujinx.UpdateClient" Version="1.0.44" />
<PackageVersion Include="Ryujinx.UpdateClient" Version="2.0.6" />
<PackageVersion Include="Ryujinx.Systems.Update.Common" Version="2.0.6" />
<PackageVersion Include="Gommon" Version="2.8.0.1" />
<PackageVersion Include="securifybv.ShellLink" Version="0.1.0" />

View File

@@ -58,9 +58,14 @@ namespace Ryujinx.Ava
// this fixes the "hide console" option by forcing the emulator to launch in an old-school cmd
if (!Console.Title.Contains("conhost.exe"))
{
string sargs = string.Join(" ", args);
StringBuilder sb = new();
foreach (string arg in args)
{
sb.Append(arg.Contains(' ') ? $" \"{arg}\"" : $" {arg}");
}
Process.Start("conhost.exe", $"{Environment.ProcessPath} {sargs}");
Process.Start("conhost.exe", $"{Environment.ProcessPath} {sb}");
return 0;
}
#endif