SquirrelMacEnableDirectContentsWrite in Beta
This commit is contained in:
parent
0f22048779
commit
7ae7fb74bb
1 changed files with 2 additions and 6 deletions
|
@ -94,7 +94,7 @@ import type { MenuActionType } from '../ts/types/menu';
|
|||
import { createTemplate } from './menu';
|
||||
import { installFileHandler, installWebHandler } from './protocol_filter';
|
||||
import * as OS from '../ts/OS';
|
||||
import { isBeta, isProduction } from '../ts/util/version';
|
||||
import { isProduction } from '../ts/util/version';
|
||||
import {
|
||||
isSgnlHref,
|
||||
isCaptchaHref,
|
||||
|
@ -120,11 +120,7 @@ import type { LoggerType } from '../ts/types/Logging';
|
|||
|
||||
const animationSettings = systemPreferences.getAnimationSettings();
|
||||
|
||||
if (
|
||||
OS.isMacOS() &&
|
||||
!isProduction(app.getVersion()) &&
|
||||
!isBeta(app.getVersion())
|
||||
) {
|
||||
if (OS.isMacOS() && !isProduction(app.getVersion())) {
|
||||
systemPreferences.setUserDefault(
|
||||
'SquirrelMacEnableDirectContentsWrite',
|
||||
'boolean',
|
||||
|
|
Loading…
Add table
Reference in a new issue