A:设置集成数据库
This commit is contained in:
1 parent
c999440973
commit
e35eb3e103
8 files changed
+491
-77
No files matched your search
@@ -59,11 +59,24 @@ public class DataService : IDataService, IDisposable
|
||||
{
|
||||
WindowX = 100,
|
||||
WindowY = 100,
|
||||
IsClickThrough = false,
|
||||
IsPositionLocked = false,
|
||||
SnapToScreen = false,
|
||||
ShowDetailedInfo = false,
|
||||
IsTopmost = false,
|
||||
TextColor = "#FFFFFF",
|
||||
BackgroundColor = "#000000",
|
||||
Opacity = 100,
|
||||
SpeedUnit = 1, // KB/s
|
||||
LayoutDirection = 0, // 横向
|
||||
ShowUnit = true,
|
||||
DoubleClickAction = 0, // None
|
||||
RunAsAdmin = false,
|
||||
AutoStart = false,
|
||||
UpdateTime = DateTimeOffset.UtcNow.ToUnixTimeSeconds()
|
||||
};
|
||||
|
||||
setting.Id = await AppSettings.SaveSettingAsync(setting);
|
||||
await AppSettings.SaveSettingAsync(setting);
|
||||
}
|
||||
|
||||
return setting;
|
||||
|
||||
Reference in new issue
Block a user