Splash+revert cache vars that didnt do anything

pull/32/head
Miepee 4 years ago
parent 8f98fdff93
commit af27f1a6e7

@ -50,11 +50,13 @@ public static class Core
public static readonly bool IsThisRunningFromWine = CheckIfRunFromWINE();
/// <summary>
/// Checks if this is ran from WINE
/// Checks if the Launcher is ran from WINE.
/// </summary>
/// <returns><see langword="true"/> if run from WINE, <see langword="false"/> if not.</returns>
private static bool CheckIfRunFromWINE()
{
// We check for wine by seeing if a reg entry exists.
// Not the best way, and could be removed from the future, but good enough for our purposes.
if (OS.IsWindows && (Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Software\\Wine") != null))
return true;

@ -48,21 +48,10 @@ public static class CrossPlatformOperations
}
}
private static string _currentPath;
/// <summary>
/// Current Path where the Launcher Data is located.
/// </summary>
public static string CurrentPath
{
get
{
if (_currentPath is null)
_currentPath = GenerateCurrentPath();
return _currentPath;
}
}
public static readonly string CurrentPath = GenerateCurrentPath();
/// <summary>
/// Generates the mirror list, depending on the current Platform.

@ -55,7 +55,9 @@ public static class Splash
{
":(",
"All your machine are belong to MS",
"All your data are belong to us"
"All your data are belong to us",
"Go to Settings to activate AM2R.",
"(Not Responding)"
};
/// <summary>
@ -73,6 +75,7 @@ public static class Splash
"The quieter you are, the more Metroids you can hear.",
"What you are referring to as AM2R, is in fact, GNU/AM2R.",
"GNOME be gone!",
"Kurse you KDE!",
"Go compile your own girlfriend. This one doesn't count, she's out of your league.",
"Year 3115, NVIDIA still doesn't support Wayland.",
"Was a mouse really that expensive, i3 users!?",

Loading…
Cancel
Save