fix: allow chromium to handle WM_NCCALCSIZE for frameless windows (#21164)

This commit is contained in:
Robo 2019-11-19 06:07:10 -08:00 committed by GitHub
parent c8ed22def3
commit 73467f00e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 205 additions and 206 deletions

View file

@ -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}`)