34 lines
896 B
C#
34 lines
896 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BeWoLauncher.Logic.Utils
|
|
{
|
|
public static class LauncherAppdataConfig
|
|
{
|
|
public static string GetInstallLocation()
|
|
{
|
|
return Properties.Settings.Default.InstallLocation;
|
|
}
|
|
|
|
public static void SetInstallLocation(string path)
|
|
{
|
|
Properties.Settings.Default.InstallLocation = path;
|
|
Properties.Settings.Default.Save();
|
|
}
|
|
|
|
public static bool GetFirstInstallationSuccess()
|
|
{
|
|
return Properties.Settings.Default.FirstInstallationSuccess;
|
|
}
|
|
|
|
public static void SetFirstInstallationSuccess(bool b)
|
|
{
|
|
Properties.Settings.Default.FirstInstallationSuccess = b;
|
|
Properties.Settings.Default.Save();
|
|
}
|
|
}
|
|
}
|