mirror of
https://github.com/upscayl/upscayl.git
synced 2024-11-27 17:00:52 +01:00
Update plist
This commit is contained in:
parent
cf96efd591
commit
c4209af139
@ -100,7 +100,7 @@
|
||||
"hardenedRuntime": false,
|
||||
"type": "distribution",
|
||||
"category": "public.app-category.photography",
|
||||
"entitlements": "resources/entitlements.mac.plist",
|
||||
"entitlements": "resources/entitlements.mas.plist",
|
||||
"entitlementsInherit": "resources/entitlements.mas.inherit.plist",
|
||||
"provisioningProfile": "embedded.provisionprofile",
|
||||
"mergeASARs": false,
|
||||
|
@ -21,6 +21,7 @@ import OverwriteToggle from "./OverwriteToggle";
|
||||
import { UpscaylCloudModal } from "../UpscaylCloudModal";
|
||||
import { ResetSettings } from "./ResetSettings";
|
||||
import ProcessImageToggle from "./ProcessImageToggle";
|
||||
import { FLAGS } from "@/utils/flags";
|
||||
|
||||
interface IProps {
|
||||
batchMode: boolean;
|
||||
@ -189,7 +190,7 @@ function SettingsTab({
|
||||
target="_blank">
|
||||
Read Wiki Guide
|
||||
</a>
|
||||
<DonateButton />
|
||||
{FLAGS.APP_STORE_BUILD && <DonateButton />}
|
||||
</div>
|
||||
|
||||
<LogArea
|
||||
|
@ -1,8 +1,3 @@
|
||||
export const FLAGS = {
|
||||
APP_STORE_BUILD: "APP_STORE_BUILD",
|
||||
};
|
||||
|
||||
// Get flag from process.env
|
||||
export const flag = (flag: keyof typeof FLAGS) => {
|
||||
return process.env[flag];
|
||||
APP_STORE_BUILD: false,
|
||||
};
|
||||
|
@ -2,13 +2,25 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<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>
|
||||
<true/>
|
||||
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||
<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>
|
||||
<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>
|
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…
Reference in New Issue
Block a user