Updated readme and got rid of inconsequential build warnings [no ci]

This commit is contained in:
Kamil118 committed 2026-08-17 18:21:18 +02:00
1 parent cd1548d047
commit ed410661d3
3 files changed
+16 -3

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ namespace GoToSleep
countdown.Text = getTimerText();
});
}
catch (Exception e)
catch
{
//the window most likely has been closed
return;
+6 -1
View File
@@ -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)
+9 -1
View File
@@ -1 +1,9 @@
# GoToSleep
# 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)