// Portable Mode\r
if (Portable.IsPortable())\r
{\r
- if(!Portable.Initialise())\r
+ if (!Portable.Initialise())\r
{\r
Application.Current.Shutdown();\r
return;\r
if (language != null)\r
{\r
CultureInfo ci = new CultureInfo(language.Culture);\r
- Thread.CurrentThread.CurrentCulture = ci;\r
Thread.CurrentThread.CurrentUICulture = ci;\r
}\r
}\r
Application.Current.Resources.MergedDictionaries.Add(darkTheme);\r
}\r
\r
-\r
// NO-Hardware Mode\r
bool noHardware = e.Args.Any(f => f.Equals("--no-hardware")) || (Portable.IsPortable() && !Portable.IsHardwareEnabled());\r
\r