Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
freethinkel committed Apr 25, 2024
1 parent 623bc8d commit 9f12a28
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
mod window;

use cocoa::{
appkit::{NSColor, NSWindow},
base::{id, nil},
base::{id, nil, NO},
foundation::{NSString, NSUserDefaults},
};
use tauri::{Manager, Window, WindowEvent};
use tauri::Manager;
use window::{apply_toolbar, ToolbarThickness};

fn main() {
Expand All @@ -22,7 +21,7 @@ fn main() {
let ud: id = unsafe { NSUserDefaults::standardUserDefaults() };
unsafe {
ud.setBool_forKey_(
false,
NO,
NSString::alloc(nil).init_str("ApplePressAndHoldEnabled"),
)
};
Expand Down
8 changes: 8 additions & 0 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
"csp": null
}
},
"plugins": {
"updater": {
"active": true,
"endpoints": [],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDhGRDkwODFDQkVGREE5MDEKUldRQnFmMitIQWpaajZTMTg3MUxTemNuR0dKVkp3cFNpbWdnZ3RlNWJMQVNWYlZhanVwb1pVQWgK"
}
},
"bundle": {
"active": true,
"category": "",
Expand Down

0 comments on commit 9f12a28

Please sign in to comment.