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.
1 parent a57cd86 commit 8dd1c3cCopy full SHA for 8dd1c3c
1 file changed
src/Packages/Passport/Runtime/Scripts/Private/Helpers/WindowsDeepLink.cs
@@ -405,6 +405,18 @@ private void HandleDeeplink()
405
// This prevents race condition where Unity deletes the file
406
// while Windows is still trying to execute it
407
var cmdPath = GetGameExecutablePath(".cmd");
408
+ // Commented out to prevent race condition
409
+ // if (File.Exists(cmdPath))
410
+ // {
411
+ // try
412
413
+ // File.Delete(cmdPath);
414
+ // }
415
+ // catch (Exception ex)
416
417
+ // PassportLogger.Warn($"Failed to delete script: {ex.Message}");
418
419
420
421
// Clean up instance
422
Destroy(gameObject);
@@ -413,3 +425,4 @@ private void HandleDeeplink()
425
}
426
427
#endif
428
+
0 commit comments