mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-17 11:18:36 +01:00
Update plist
This commit is contained in:
parent
cf96efd591
commit
c4209af139
@ -100,7 +100,7 @@
|
|||||||
"hardenedRuntime": false,
|
"hardenedRuntime": false,
|
||||||
"type": "distribution",
|
"type": "distribution",
|
||||||
"category": "public.app-category.photography",
|
"category": "public.app-category.photography",
|
||||||
"entitlements": "resources/entitlements.mac.plist",
|
"entitlements": "resources/entitlements.mas.plist",
|
||||||
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
|
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
|
||||||
"provisioningProfile": "embedded.provisionprofile",
|
"provisioningProfile": "embedded.provisionprofile",
|
||||||
"mergeASARs": false,
|
"mergeASARs": false,
|
||||||
|
@ -21,6 +21,7 @@ import OverwriteToggle from "./OverwriteToggle";
|
|||||||
import { UpscaylCloudModal } from "../UpscaylCloudModal";
|
import { UpscaylCloudModal } from "../UpscaylCloudModal";
|
||||||
import { ResetSettings } from "./ResetSettings";
|
import { ResetSettings } from "./ResetSettings";
|
||||||
import ProcessImageToggle from "./ProcessImageToggle";
|
import ProcessImageToggle from "./ProcessImageToggle";
|
||||||
|
import { FLAGS } from "@/utils/flags";
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
batchMode: boolean;
|
batchMode: boolean;
|
||||||
@ -189,7 +190,7 @@ function SettingsTab({
|
|||||||
target="_blank">
|
target="_blank">
|
||||||
Read Wiki Guide
|
Read Wiki Guide
|
||||||
</a>
|
</a>
|
||||||
<DonateButton />
|
{FLAGS.APP_STORE_BUILD && <DonateButton />}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<LogArea
|
<LogArea
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
export const FLAGS = {
|
export const FLAGS = {
|
||||||
APP_STORE_BUILD: "APP_STORE_BUILD",
|
APP_STORE_BUILD: false,
|
||||||
};
|
|
||||||
|
|
||||||
// Get flag from process.env
|
|
||||||
export const flag = (flag: keyof typeof FLAGS) => {
|
|
||||||
return process.env[flag];
|
|
||||||
};
|
};
|
||||||
|
@ -2,13 +2,25 @@
|
|||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<!-- https://github.com/electron/electron-notarize#prerequisites -->
|
<key>com.apple.security.automation.apple-events</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||||
|
<true/>
|
||||||
<key>com.apple.security.cs.allow-jit</key>
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||||
<true/>
|
<true/>
|
||||||
<!-- https://github.com/electron-userland/electron-builder/issues/3940 -->
|
<key>com.apple.security.cs.debugger</key>
|
||||||
|
<true/>
|
||||||
<key>com.apple.security.cs.disable-library-validation</key>
|
<key>com.apple.security.cs.disable-library-validation</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>com.apple.security.files.user-selected.read-write</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.inherit</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.network.client</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.network.server</key>
|
||||||
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
28
resources/entitlements.mas.plist
Normal file
28
resources/entitlements.mas.plist
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.automation.apple-events</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.debugger</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.application-groups</key>
|
||||||
|
<string>W2T4W74X87.org.upscayl.Upscayl</string>
|
||||||
|
<key>com.apple.security.cs.disable-library-validation</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.files.user-selected.read-write</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.inherit</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.network.client</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.network.server</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
Loading…
x
Reference in New Issue
Block a user