19 lines
No EOL
832 B
C#
19 lines
No EOL
832 B
C#
namespace MossyUpdater.Services
|
|
{
|
|
public interface ISettingsService
|
|
{
|
|
Task<AppSettings> LoadSettingsAsync();
|
|
Task SaveSettingsAsync(AppSettings settings);
|
|
}
|
|
|
|
public class AppSettings
|
|
{
|
|
public string LastUsedFolder { get; set; } = string.Empty;
|
|
public string DefaultUrl { get; set; } = "https://git.snakedesert.se/SawatoMosswartsEnjoyersClub/MosswartMassacre/raw/branch/spawn-detection/MosswartMassacre/bin/Release/MosswartMassacre.dll";
|
|
public string DefaultFilename { get; set; } = "MosswartMassacre.dll";
|
|
public double WindowWidth { get; set; } = 550;
|
|
public double WindowHeight { get; set; } = 450;
|
|
public bool CheckForUpdatesOnStartup { get; set; } = true;
|
|
public int DownloadTimeoutMinutes { get; set; } = 10;
|
|
}
|
|
} |