mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 09:28:03 +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
|
api
|
||||||
APIENTRY
|
APIENTRY
|
||||||
APIIs
|
APIIs
|
||||||
|
Apm
|
||||||
APPBARDATA
|
APPBARDATA
|
||||||
appcontainer
|
appcontainer
|
||||||
appdata
|
appdata
|
||||||
@ -71,6 +72,7 @@ APPLASTZONE
|
|||||||
applets
|
applets
|
||||||
Applicationcan
|
Applicationcan
|
||||||
applicationframehost
|
applicationframehost
|
||||||
|
applog
|
||||||
appmanifest
|
appmanifest
|
||||||
appref
|
appref
|
||||||
apps
|
apps
|
||||||
@ -277,6 +279,7 @@ cnt
|
|||||||
coclass
|
coclass
|
||||||
codebase
|
codebase
|
||||||
codecvt
|
codecvt
|
||||||
|
CODENAME
|
||||||
codeofconduct
|
codeofconduct
|
||||||
codereview
|
codereview
|
||||||
Codespaces
|
Codespaces
|
||||||
@ -393,7 +396,7 @@ davidegiacometti
|
|||||||
Dayof
|
Dayof
|
||||||
DBCD
|
DBCD
|
||||||
DBDA
|
DBDA
|
||||||
dbg
|
Dbg
|
||||||
Dbghelp
|
Dbghelp
|
||||||
DBLCLKS
|
DBLCLKS
|
||||||
DBLEPSILON
|
DBLEPSILON
|
||||||
@ -734,6 +737,8 @@ hhk
|
|||||||
HHmmss
|
HHmmss
|
||||||
HHOOK
|
HHOOK
|
||||||
hhx
|
hhx
|
||||||
|
Hiber
|
||||||
|
Hiberboot
|
||||||
HICON
|
HICON
|
||||||
HIDEWINDOW
|
HIDEWINDOW
|
||||||
highlighter
|
highlighter
|
||||||
@ -1232,6 +1237,7 @@ mirophone
|
|||||||
mjpg
|
mjpg
|
||||||
mkdir
|
mkdir
|
||||||
mlcfg
|
mlcfg
|
||||||
|
MMDDYYYY
|
||||||
mmdeviceapi
|
mmdeviceapi
|
||||||
mmi
|
mmi
|
||||||
mmsys
|
mmsys
|
||||||
|
@ -11,7 +11,7 @@ namespace Awake.Core
|
|||||||
{
|
{
|
||||||
internal static class NativeMethods
|
internal static class NativeMethods
|
||||||
{
|
{
|
||||||
[DllImport("PowrProf.dll", SetLastError = true)]
|
[DllImport("Powrprof.dll", SetLastError = true)]
|
||||||
internal static extern bool GetPwrCapabilities(out SystemPowerCapabilities lpSystemPowerCapabilities);
|
internal static extern bool GetPwrCapabilities(out SystemPowerCapabilities lpSystemPowerCapabilities);
|
||||||
|
|
||||||
[DllImport("kernel32.dll", SetLastError = true)]
|
[DllImport("kernel32.dll", SetLastError = true)]
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
|
||||||
<variable name="buildid" value="ARBITER_01312022" />
|
<variable name="buildId" value="ARBITER_01312022" />
|
||||||
|
|
||||||
<targets async="true">
|
<targets async="true">
|
||||||
<target name="logfile"
|
<target name="logfile"
|
||||||
xsi:type="File"
|
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}"
|
layout="[${longdate} ${level:uppercase=true} ${logger}] ${message}"
|
||||||
archiveEvery="Day"
|
archiveEvery="Day"
|
||||||
archiveNumbering="Rolling"
|
archiveNumbering="Rolling"
|
||||||
|
@ -28,8 +28,8 @@ namespace Awake
|
|||||||
{
|
{
|
||||||
internal class Program
|
internal class Program
|
||||||
{
|
{
|
||||||
// PowerToys Awake build codename. Used for exact logging
|
// PowerToys Awake build code name. Used for exact logging
|
||||||
// that does not map to PowerToys broad versioning to pinpoint
|
// that does not map to PowerToys broad version schema to pinpoint
|
||||||
// internal issues easier.
|
// internal issues easier.
|
||||||
// Format of the build ID is: CODENAME_MMDDYYYY, where MMDDYYYY
|
// Format of the build ID is: CODENAME_MMDDYYYY, where MMDDYYYY
|
||||||
// is representative of the date when the last change was made before
|
// is representative of the date when the last change was made before
|
||||||
|
Loading…
Reference in New Issue
Block a user