2
0

compatibility with older tasks.json

This commit is contained in:
glax 2023-05-31 22:26:53 +02:00
parent 932057cca0
commit 8ff65bf400

View File

@ -48,10 +48,10 @@ public abstract class TrangaTask
return DateTime.Now.Subtract(this.lastExecuted) > reoccurrence && state is ExecutionState.Waiting; return DateTime.Now.Subtract(this.lastExecuted) > reoccurrence && state is ExecutionState.Waiting;
} }
public enum Task public enum Task : byte
{ {
DownloadNewChapters, DownloadNewChapters = 2,
UpdateKomgaLibrary UpdateKomgaLibrary = 3
} }
public override string ToString() public override string ToString()