compatibility with older tasks.json
This commit is contained in:
parent
932057cca0
commit
8ff65bf400
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user