fix: allow chromium to handle WM_NCCALCSIZE for frameless windows (#21164)
This commit is contained in:
parent
c8ed22def3
commit
73467f00e3
8 changed files with 205 additions and 206 deletions
|
@ -27,7 +27,7 @@ function getOutDir (shouldLog) {
|
|||
if (process.env.ELECTRON_OUT_DIR) {
|
||||
return process.env.ELECTRON_OUT_DIR
|
||||
} else {
|
||||
for (const buildType of ['Debug', 'Testing', 'Release', 'Default']) {
|
||||
for (const buildType of ['Testing', 'Release', 'Default']) {
|
||||
const outPath = path.resolve(SRC_DIR, 'out', buildType)
|
||||
if (fs.existsSync(outPath)) {
|
||||
if (shouldLog) console.log(`OUT_DIR is: ${buildType}`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue