mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 16:14:28 +08:00
24 lines
474 B
C#
24 lines
474 B
C#
|
|
namespace LanMountainDesktop.Launcher.Models;
|
||
|
|
|
||
|
|
internal enum DataLocationMode
|
||
|
|
{
|
||
|
|
System,
|
||
|
|
Portable
|
||
|
|
}
|
||
|
|
|
||
|
|
internal sealed class DataLocationConfig
|
||
|
|
{
|
||
|
|
public string DataLocationMode { get; set; } = "System";
|
||
|
|
|
||
|
|
public string? SystemDataPath { get; set; }
|
||
|
|
|
||
|
|
public string? PortableDataPath { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
internal sealed class DataLocationPromptResult
|
||
|
|
{
|
||
|
|
public DataLocationMode SelectedMode { get; init; }
|
||
|
|
|
||
|
|
public bool MigrateExistingData { get; init; }
|
||
|
|
}
|