Archived
Fixed: session file writing bad format
This commit is contained in:
1 parent
515b81920f
commit
dd32aee9d9
3 files changed
+34
-4
No files matched your search
@@ -1,14 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using FizzyLauncher.Text.Json;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace FizzyLauncher.Models
|
||||
{
|
||||
public class TileGroupModel
|
||||
{
|
||||
public string Title { get; set; }
|
||||
|
||||
public bool IsExpanded { get; set; } = false;
|
||||
|
||||
public bool IsExclusive { get; set; } = false;
|
||||
|
||||
public List<TileModel> Items { get; set; } = new List<TileModel>();
|
||||
|
||||
[JsonConverter(typeof(JsonSizeConverter))]
|
||||
public Size GridSize { get; set; } = new Size(0, 0);
|
||||
}
|
||||
}
|
||||
+11
-1
@@ -1,21 +1,31 @@
|
||||
using System;
|
||||
using FizzyLauncher.Text.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace FizzyLauncher.Models
|
||||
{
|
||||
public class TileModel
|
||||
{
|
||||
public string Title { get; set; }
|
||||
|
||||
public string ProcessFilename { get; set; }
|
||||
|
||||
public string ProcessArgument { get; set; }
|
||||
|
||||
public string ProcessWorkingDirectory { get; set; }
|
||||
|
||||
public ProcessWindowStyle ProcessWindowStyle { get; set; } = ProcessWindowStyle.Normal;
|
||||
|
||||
public bool ProcessAsAdmin { get; set; } = false;
|
||||
|
||||
[JsonConverter(typeof(JsonPointConverter))]
|
||||
public Point Position { get; set; }
|
||||
|
||||
public bool IsGroup { get; set; } = false;
|
||||
|
||||
public List<TileModel> Items { get; set; } = new List<TileModel>();
|
||||
|
||||
public override string ToString() => this.Title ?? string.Empty;
|
||||
|
||||
Reference in new issue
Block a user