Skip to content

Commit

Permalink
Update incorrect docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthoDingo committed Aug 27, 2024
1 parent 27a1052 commit 56313c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions Docs/docs/Awake.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,9 @@ Awake.CompleteExit(0, false, "AppName");
Updated version of Power Awake

```C#
using FrApps42.System.Computer.Awake.v1;
using FrApps42.System.Computer.Awake.v2;
...

private static void LogUnexpectedOrCancelledKeepAwakeThreadCompletion(){
Console.WriteLine("The keep-awake thread was terminated early.");
}

private static void LogCompletedKeepAwakeThread(bool result)
{
Console.WriteLine($"Exited keep-awake thread successfully: {result}");
}

// Keep Screen on
Awake..SetIndefiniteKeepAwake(true);
// Keep Screen off
Expand Down
2 changes: 1 addition & 1 deletion System/System.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<PackageIcon>logo.png</PackageIcon>
<Version>1.1.0</Version>
<AssemblyVersion>1.1.0</AssemblyVersion>
<PackageReleaseNotes>Implement Awake from Microsoft Powertoys</PackageReleaseNotes>
<PackageReleaseNotes>Fix Awake v1 &amp; v2</PackageReleaseNotes>
<FileVersion>1.1.0</FileVersion>
</PropertyGroup>

Expand Down

0 comments on commit 56313c3

Please sign in to comment.