SquirrelMacEnableDirectContentsWrite in Beta

This commit is contained in:
Fedor Indutny 2023-02-15 13:22:19 -08:00 committed by GitHub
parent 0f22048779
commit 7ae7fb74bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',