mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
* Fix `System.Diagnostics.Trace.TraceError` crash. - WASM does not have access to the command line arguments through the browser so the length is 0 causing index out of range error. - The zero index of the command line arguments is what decides the `AppName` so under WASM the AppName will be blanks. * Address review comments * Remove #ifdef for WASM only. - Addresses review note. - As per channel discussion some embedding scenarios might be the same.