diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 9171bb0..8507a60 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -16,10 +16,12 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 6.0.x
+ dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
+ - name: Publish
+ run: dotnet publish
diff --git a/NoSleep.sln b/NoSleep.sln
index c9b02bd..7bc9f76 100644
--- a/NoSleep.sln
+++ b/NoSleep.sln
@@ -8,6 +8,8 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F8C0ABFE-D352-47A0-90BA-4DA36A354F26}"
ProjectSection(SolutionItems) = preProject
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
+ LICENSE.txt = LICENSE.txt
+ README.md = README.md
EndProjectSection
EndProject
Global
diff --git a/NoSleep/NoSleep.csproj b/NoSleep/NoSleep.csproj
index 7495460..e403981 100644
--- a/NoSleep/NoSleep.csproj
+++ b/NoSleep/NoSleep.csproj
@@ -2,7 +2,12 @@
Exe
- net6.0
+ net8.0
+ true
+
+
+
+
diff --git a/NoSleep/Program.cs b/NoSleep/Program.cs
index e1f21c9..9f9407b 100644
--- a/NoSleep/Program.cs
+++ b/NoSleep/Program.cs
@@ -1,4 +1,28 @@
-using System;
+/*
+ * THE MIT LICENSE
+ *
+ * Copyright 2018 TREVOR DAVIS
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+*/
+using System;
namespace NoSleep
{
diff --git a/NoSleep/Properties/PublishProfiles/Net45Release.pubxml b/NoSleep/Properties/PublishProfiles/Net45Release.pubxml
deleted file mode 100644
index 457aba6..0000000
--- a/NoSleep/Properties/PublishProfiles/Net45Release.pubxml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
- FileSystem
- Release
- net451
- bin\Release\PublishOutput
-
-
\ No newline at end of file
diff --git a/README.md b/README.md
index 2b21c88..7ab289f 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,20 @@
-NoSleep
+# NoSleep
A simple utiltity to prevent Windows from entering idle and sleeping. Useful while working on a PC but not actively using it.
+
+## Getting and Compiling NoSleep
+
+You can easily clone the repository with something similar to
+
+```
+git clone https://github.com/ThreeSevenths/NoSleep.git
+```
+
+To build the solution
+
+```
+cd NoSleep/NoSleep
+dotnet restore
+dotnet build
+dotnet publish
+```