chore: remove deprecated systemPreferences.isAeroGlassEnabled() (#45563)

This commit is contained in:
Milan Burda
2025-02-19 01:59:00 +01:00
committed by GitHub
parent 670e0ca076
commit 22b7403cd1
5 changed files with 11 additions and 26 deletions

View File

@@ -370,6 +370,8 @@ if (process.platform === 'win32') {
// @ts-expect-error Removed API
systemPreferences.on('high-contrast-color-scheme-changed', (_, highContrast) => console.log(highContrast ? 'high contrast' : 'not high contrast'));
console.log('Color for menu is', systemPreferences.getColor('menu'));
// @ts-expect-error Removed API
systemPreferences.isAeroGlassEnabled();
}
if (process.platform === 'darwin') {