From 1ea07c458bf7ffc637d2c54daac25ef05b8f7b61 Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Wed, 11 May 2022 00:52:20 +0800
Subject: [PATCH] chore: test linux

---
 src-tauri/Cargo.lock | 13 +++++++++++++
 src-tauri/Cargo.toml |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 1b017fb..d2caa0b 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -1931,6 +1931,18 @@ version = "1.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
 
+[[package]]
+name = "libayatana-appindicator"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0379d22a323947cb27b4dbe3b14fc1dcde07c9e9c3eca52ddf97ca0819c28cc4"
+dependencies = [
+ "glib",
+ "gtk",
+ "gtk-sys",
+ "log",
+]
+
 [[package]]
 name = "libc"
 version = "0.2.125"
@@ -3695,6 +3707,7 @@ dependencies = [
  "gtk",
  "instant",
  "lazy_static",
+ "libayatana-appindicator",
  "libc",
  "log",
  "ndk",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 0d51821..c734c04 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -44,7 +44,7 @@ windows-sys = "0.36"
 winreg = { version = "0.10", features = ["transactions"] }
 
 [features]
-default = ["custom-protocol"]
+default = ["custom-protocol", "tauri/ayatana-tray"]
 custom-protocol = ["tauri/custom-protocol"]
 verge-dev = []
 debug-yml = []
-- 
GitLab