[spellchecker]Fix Awake spellchecker errors (#16356)

This commit is contained in:
Jaime Bernardo 2022-02-14 18:20:41 +00:00 committed by GitHub
parent 38e401007a
commit 10a5629fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -61,6 +61,7 @@ APeriod
api
APIENTRY
APIIs
Apm
APPBARDATA
appcontainer
appdata
@ -71,6 +72,7 @@ APPLASTZONE
applets
Applicationcan
applicationframehost
applog
appmanifest
appref
apps
@ -277,6 +279,7 @@ cnt
coclass
codebase
codecvt
CODENAME
codeofconduct
codereview
Codespaces
@ -393,7 +396,7 @@ davidegiacometti
Dayof
DBCD
DBDA
dbg
Dbg
Dbghelp
DBLCLKS
DBLEPSILON
@ -734,6 +737,8 @@ hhk
HHmmss
HHOOK
hhx
Hiber
Hiberboot
HICON
HIDEWINDOW
highlighter
@ -1232,6 +1237,7 @@ mirophone
mjpg
mkdir
mlcfg
MMDDYYYY
mmdeviceapi
mmi
mmsys

View File

@ -11,7 +11,7 @@ namespace Awake.Core
{
internal static class NativeMethods
{
[DllImport("PowrProf.dll", SetLastError = true)]
[DllImport("Powrprof.dll", SetLastError = true)]
internal static extern bool GetPwrCapabilities(out SystemPowerCapabilities lpSystemPowerCapabilities);
[DllImport("kernel32.dll", SetLastError = true)]

View File

@ -2,12 +2,12 @@
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variable name="buildid" value="ARBITER_01312022" />
<variable name="buildId" value="ARBITER_01312022" />
<targets async="true">
<target name="logfile"
xsi:type="File"
fileName="${specialfolder:folder=LocalApplicationData}/Microsoft/PowerToys/Awake/Logs/${var:awakeversion}/applog_${date:format=yyyy-MM-dd_HH}_${var:buildid}.txt"
fileName="${specialfolder:folder=LocalApplicationData}/Microsoft/PowerToys/Awake/Logs/${var:awakeversion}/applog_${date:format=yyyy-MM-dd_HH}_${var:buildId}.txt"
layout="[${longdate} ${level:uppercase=true} ${logger}] ${message}"
archiveEvery="Day"
archiveNumbering="Rolling"

View File

@ -28,8 +28,8 @@ namespace Awake
{
internal class Program
{
// PowerToys Awake build codename. Used for exact logging
// that does not map to PowerToys broad versioning to pinpoint
// PowerToys Awake build code name. Used for exact logging
// that does not map to PowerToys broad version schema to pinpoint
// internal issues easier.
// Format of the build ID is: CODENAME_MMDDYYYY, where MMDDYYYY
// is representative of the date when the last change was made before