We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76b09eb + afcaed6 commit f98fc34Copy full SHA for f98fc34
osu.Desktop/Program.cs
@@ -180,7 +180,10 @@ private static void setupVelopack(string[] args)
180
// or is running with pending imports via file association or otherwise.
181
//
182
// In both these scenarios, we'd hope the game does not attempt to update.
183
- if (args.Length > 0)
+ //
184
+ // Special consideration for velopack startup arguments, which must be handled during update.
185
+ // See https://docs.velopack.io/integrating/hooks#command-line-hooks.
186
+ if (args.Length > 0 && !args[0].StartsWith("--velo", StringComparison.Ordinal))
187
{
188
Logger.Log("Handling arguments, skipping velopack setup.");
189
return;
0 commit comments