Updated readme and got rid of inconsequential build warnings [no ci]
This commit is contained in:
1 parent
cd1548d047
commit
ed410661d3
3 files changed
+15
-2
No files matched your search
@@ -40,7 +40,7 @@ namespace GoToSleep
|
||||
countdown.Text = getTimerText();
|
||||
});
|
||||
}
|
||||
catch (Exception e)
|
||||
catch
|
||||
{
|
||||
//the window most likely has been closed
|
||||
return;
|
||||
|
||||
@@ -83,7 +83,12 @@ namespace GoToSleep
|
||||
throw new ArgumentException();
|
||||
}
|
||||
}
|
||||
result = DateTime.Parse((results[0].Resolution["values"] as List<Dictionary<string, string>>)[0]["value"]);
|
||||
|
||||
if(results[0].Resolution["values"] == null)
|
||||
{
|
||||
throw new ArgumentException();
|
||||
}
|
||||
result = DateTime.Parse((results[0].Resolution["values"] as List<Dictionary<string, string>>)![0]["value"]);
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
# GoToSleep
|
||||
|
||||
Simple utility to schedule automatic system suspension/shutdown using natural language
|
||||
|
||||
Utilizes Microsoft.Recognizers.Text to process the natural text input and generate user-friendly countdown popup.
|
||||
|
||||
* [Download Latest x64 Standalone Release (50 MB)](https://github.com/Kamil118/GoToSleep/releases/latest/download/GoToSleep-x64_STANDALONE.exe) (Probably what you are looking for)
|
||||
|
||||
* [Download Latest x64 trimmed release (4.5 MB)](https://github.com/Kamil118/GoToSleep/releases/latest/download/GoToSleep-x64_dotnet.exe) (Requires .NET 10 runtime installed)
|
||||
Reference in new issue
Block a user