mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
[spellchecker]Fix Awake spellchecker errors (#16356)
This commit is contained in:
parent
38e401007a
commit
10a5629fe8
8
.github/actions/spell-check/expect.txt
vendored
8
.github/actions/spell-check/expect.txt
vendored
@ -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
|
||||
|
@ -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)]
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user