Skip to content

Commit 56313c3

Browse files
committed
Update incorrect docs
1 parent 27a1052 commit 56313c3

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

Docs/docs/Awake.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,9 @@ Awake.CompleteExit(0, false, "AppName");
6262
Updated version of Power Awake
6363

6464
```C#
65-
using FrApps42.System.Computer.Awake.v1;
65+
using FrApps42.System.Computer.Awake.v2;
6666
...
6767

68-
private static void LogUnexpectedOrCancelledKeepAwakeThreadCompletion(){
69-
Console.WriteLine("The keep-awake thread was terminated early.");
70-
}
71-
72-
private static void LogCompletedKeepAwakeThread(bool result)
73-
{
74-
Console.WriteLine($"Exited keep-awake thread successfully: {result}");
75-
}
76-
7768
// Keep Screen on
7869
Awake..SetIndefiniteKeepAwake(true);
7970
// Keep Screen off

System/System.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<PackageIcon>logo.png</PackageIcon>
2323
<Version>1.1.0</Version>
2424
<AssemblyVersion>1.1.0</AssemblyVersion>
25-
<PackageReleaseNotes>Implement Awake from Microsoft Powertoys</PackageReleaseNotes>
25+
<PackageReleaseNotes>Fix Awake v1 &amp; v2</PackageReleaseNotes>
2626
<FileVersion>1.1.0</FileVersion>
2727
</PropertyGroup>
2828

0 commit comments

Comments
 (0)