mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Add injector option to not apply any exception handlers (#1541)
* Add injector option to not apply any exception handlers * Log as warning if NoExceptionHandlers is set
This commit is contained in:
parent
70249a4db0
commit
5777745ab3
6 changed files with 18 additions and 37 deletions
|
|
@ -17,38 +17,6 @@ public record DalamudStartInfo
|
|||
// ignored
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DalamudStartInfo"/> class.
|
||||
/// </summary>
|
||||
/// <param name="other">Object to copy values from.</param>
|
||||
public DalamudStartInfo(DalamudStartInfo other)
|
||||
{
|
||||
this.WorkingDirectory = other.WorkingDirectory;
|
||||
this.ConfigurationPath = other.ConfigurationPath;
|
||||
this.LogPath = other.LogPath;
|
||||
this.LogName = other.LogName;
|
||||
this.PluginDirectory = other.PluginDirectory;
|
||||
this.AssetDirectory = other.AssetDirectory;
|
||||
this.Language = other.Language;
|
||||
this.GameVersion = other.GameVersion;
|
||||
this.DelayInitializeMs = other.DelayInitializeMs;
|
||||
this.TroubleshootingPackData = other.TroubleshootingPackData;
|
||||
this.NoLoadPlugins = other.NoLoadPlugins;
|
||||
this.NoLoadThirdPartyPlugins = other.NoLoadThirdPartyPlugins;
|
||||
this.BootLogPath = other.BootLogPath;
|
||||
this.BootShowConsole = other.BootShowConsole;
|
||||
this.BootDisableFallbackConsole = other.BootDisableFallbackConsole;
|
||||
this.BootWaitMessageBox = other.BootWaitMessageBox;
|
||||
this.BootWaitDebugger = other.BootWaitDebugger;
|
||||
this.BootVehEnabled = other.BootVehEnabled;
|
||||
this.BootVehFull = other.BootVehFull;
|
||||
this.BootEnableEtw = other.BootEnableEtw;
|
||||
this.BootDotnetOpenProcessHookMode = other.BootDotnetOpenProcessHookMode;
|
||||
this.BootEnabledGameFixes = other.BootEnabledGameFixes;
|
||||
this.BootUnhookDlls = other.BootUnhookDlls;
|
||||
this.CrashHandlerShow = other.CrashHandlerShow;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the working directory of the XIVLauncher installations.
|
||||
/// </summary>
|
||||
|
|
@ -169,4 +137,9 @@ public record DalamudStartInfo
|
|||
/// Gets or sets a value indicating whether to show crash handler console window.
|
||||
/// </summary>
|
||||
public bool CrashHandlerShow { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether to disable all kinds of global exception handlers.
|
||||
/// </summary>
|
||||
public bool NoExceptionHandlers { get; set; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue