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 { createTemplate } from './menu';
|
||||||
import { installFileHandler, installWebHandler } from './protocol_filter';
|
import { installFileHandler, installWebHandler } from './protocol_filter';
|
||||||
import * as OS from '../ts/OS';
|
import * as OS from '../ts/OS';
|
||||||
import { isBeta, isProduction } from '../ts/util/version';
|
import { isProduction } from '../ts/util/version';
|
||||||
import {
|
import {
|
||||||
isSgnlHref,
|
isSgnlHref,
|
||||||
isCaptchaHref,
|
isCaptchaHref,
|
||||||
|
@ -120,11 +120,7 @@ import type { LoggerType } from '../ts/types/Logging';
|
||||||
|
|
||||||
const animationSettings = systemPreferences.getAnimationSettings();
|
const animationSettings = systemPreferences.getAnimationSettings();
|
||||||
|
|
||||||
if (
|
if (OS.isMacOS() && !isProduction(app.getVersion())) {
|
||||||
OS.isMacOS() &&
|
|
||||||
!isProduction(app.getVersion()) &&
|
|
||||||
!isBeta(app.getVersion())
|
|
||||||
) {
|
|
||||||
systemPreferences.setUserDefault(
|
systemPreferences.setUserDefault(
|
||||||
'SquirrelMacEnableDirectContentsWrite',
|
'SquirrelMacEnableDirectContentsWrite',
|
||||||
'boolean',
|
'boolean',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue