From 46ac5df90af97afd91129c0c0324ef3a0aa192a7 Mon Sep 17 00:00:00 2001 From: lencx Date: Thu, 8 Dec 2022 11:45:44 +0800 Subject: [PATCH] fix: mac can't use shortcut keys (#1) --- src-tauri/Cargo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 9ab48c8..88d51cc 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -26,3 +26,10 @@ default = [ "custom-protocol" ] # this feature is used used for production builds where `devPath` points to the filesystem # DO NOT remove this custom-protocol = [ "tauri/custom-protocol" ] + +# fix: mac v1.2.0 can not copy/paste +# https://github.com/tauri-apps/tauri/issues/5669 +[profile.release] +strip = true +lto = true +opt-level = "z"