Skip to content

Commit

Permalink
fix: Patch windows and mac maximizing (#9)
Browse files Browse the repository at this point in the history
* Patch not full screen in windows and mac

* Update updater endpoint
  • Loading branch information
naman-crabnebula authored Nov 7, 2024
1 parent 50ee739 commit 7ec7047
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ pub fn run() {
.set_ignore_cursor_events(true)
.expect("Failed to set ignore cursor events");

#[cfg(not(target_os = "linux"))]
window.maximize().expect("Could not maximize window");

let app_handle = app.handle().clone();
listen_for_mouse_events(app_handle);
Ok(())
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"productName": "koi-pond",
"version": "0.1.0",
"version": "0.1.1",
"identifier": "com.koi-pond.app",
"build": {
"beforeDevCommand": "pnpm dev",
Expand Down Expand Up @@ -42,7 +42,7 @@
"plugins": {
"updater": {
"endpoints": [
"https://cdn.crabnebula.app/update/cn-testing/koi-pond/{{target}}-{{arch}}/{{current_version}}"
"https://cdn.crabnebula.app/update/crabnebula/koi-pond/{{target}}-{{arch}}/{{current_version}}"
],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQ0NUNEOEE3QThDOEYxRTYKUldUbThjaW9wOWhjMUUxVjA5WThMUmFEWkFhTHNUN0k2a2NBZGFqYjk0R0V2MURKRXBEVTBBclUK"
}
Expand Down

0 comments on commit 7ec7047

Please sign in to comment.