mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-22 00:28:30 +02:00
Entitlement for v8/Deno
This commit is contained in:
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "yaak-app",
|
"name": "yaak",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
2
src-tauri/Cargo.lock
generated
2
src-tauri/Cargo.lock
generated
@@ -8136,7 +8136,7 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "yaak-app"
|
name = "yaak"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<!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>
|
||||||
<!-- Re-enable for sandboxing. Currently disabled because auto-updater doesn't work with sandboxing.-->
|
<!-- Enable for v8 execution -->
|
||||||
<!-- <key>com.apple.security.app-sandbox</key> <true/>-->
|
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||||
<!-- <key>com.apple.security.files.user-selected.read-write</key> <true/>-->
|
<true/>
|
||||||
<!-- <key>com.apple.security.network.client</key> <true/>-->
|
|
||||||
</dict>
|
<!-- Re-enable for sandboxing. Currently disabled because auto-updater doesn't work with sandboxing.-->
|
||||||
|
<!-- <key>com.apple.security.app-sandbox</key> <true/>-->
|
||||||
|
<!-- <key>com.apple.security.files.user-selected.read-write</key> <true/>-->
|
||||||
|
<!-- <key>com.apple.security.network.client</key> <true/>-->
|
||||||
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -18,11 +18,13 @@ export function useClipboardText() {
|
|||||||
const setText = useCallback(
|
const setText = useCallback(
|
||||||
(text: string) => {
|
(text: string) => {
|
||||||
writeText(text).catch(console.error);
|
writeText(text).catch(console.error);
|
||||||
toast.show({
|
if (text != '') {
|
||||||
id: 'copied',
|
toast.show({
|
||||||
variant: 'copied',
|
id: 'copied',
|
||||||
message: 'Copied to clipboard',
|
variant: 'copied',
|
||||||
});
|
message: 'Copied to clipboard',
|
||||||
|
});
|
||||||
|
}
|
||||||
setValue(text);
|
setValue(text);
|
||||||
},
|
},
|
||||||
[setValue, toast],
|
[setValue, toast],
|
||||||
|
|||||||
Reference in New Issue
Block a user