mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 06:47:44 +01:00
feat: new VEH experience
This commit is contained in:
parent
379c52f5d4
commit
8bc4d362ad
10 changed files with 269 additions and 61 deletions
|
|
@ -81,12 +81,8 @@ namespace Dalamud
|
|||
stackTrace = "Fail: " + e.ToString();
|
||||
}
|
||||
|
||||
var msg = "An error within the game has occurred.\n\n"
|
||||
+ "This may be caused by a faulty plugin, a broken TexTools modification, any other third-party tool or simply a bug in the game.\n"
|
||||
+ "Please try \"Start Over\" or \"Download Index Backup\" in TexTools, an integrity check in the XIVLauncher settings, and disabling plugins you don't need.\n\n"
|
||||
+ "The log file is located at:\n"
|
||||
+ "{1}\n\n"
|
||||
+ "Press OK to exit the application.\n\nStack trace:\n{2}";
|
||||
var msg = "This may be caused by a faulty plugin, a broken TexTools modification, any other third-party tool or simply a bug in the game.\n\n"
|
||||
+ "Please attempt an integrity check in the XIVLauncher settings, and disabling plugins you don't need.";
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
|
|
@ -69,6 +69,17 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
this.devPluginDirectory.Create();
|
||||
|
||||
this.SafeMode = EnvironmentConfiguration.DalamudNoPlugins || this.configuration.PluginSafeMode || this.startInfo.NoLoadPlugins;
|
||||
|
||||
try
|
||||
{
|
||||
var appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
|
||||
this.SafeMode = this.SafeMode || File.Exists(Path.Combine(appdata, "XIVLauncher", ".dalamud_safemode"));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex, "Couldn't check safe mode file");
|
||||
}
|
||||
|
||||
if (this.SafeMode)
|
||||
{
|
||||
this.configuration.PluginSafeMode = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue