Skip to content

Commit

Permalink
feat: hide the dock bar icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangweb committed Mar 16, 2023
1 parent 6749213 commit f2bec39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ fn main() {
folder::create_folder();

tauri::Builder::default()
.setup(|app| {
// Make the docker NOT to have an active app when started
app.set_activation_policy(tauri::ActivationPolicy::Accessory);
Ok(())
})
.system_tray(tray::main_menu())
.plugin(tauri_plugin_sql::Builder::default().build())
.plugin(tauri_plugin_autostart::init(
Expand Down
2 changes: 1 addition & 1 deletion src/components/Function/components/ShortcutKey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const handleKeyup = (event: KeyboardEvent) => {
}
}
</script>
<!-- TODO: 失去焦点应该先判断有没有自定义过,没有就行把之前的再显示回来,而不是直接置为默认 -->

<template>
<div class="flex items-center gap-2">
<span>唤醒窗口:</span>
Expand Down

0 comments on commit f2bec39

Please sign in to comment.