pake-cli 3.8.6 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "pake"
3
- version = "3.8.6"
3
+ version = "3.9.0"
4
4
  description = "🤱🏻 Turn any webpage into a desktop app with Rust."
5
5
  authors = ["Tw93"]
6
6
  license = "MIT"
@@ -155,10 +155,9 @@ pub fn run_app() {
155
155
  window.hide().unwrap();
156
156
  });
157
157
  api.prevent_close();
158
- } else {
159
- // Exit app completely when hide_on_close is false
160
- std::process::exit(0);
161
158
  }
159
+ // If hide_on_close is false, allow normal close behavior
160
+ // This lets tauri-plugin-window-state save the window position and size
162
161
  }
163
162
  })
164
163
  .build(tauri::generate_context!())
@@ -4,7 +4,23 @@
4
4
  "active": true,
5
5
  "targets": ["dmg"],
6
6
  "macOS": {
7
- "signingIdentity": "-"
7
+ "signingIdentity": "-",
8
+ "hardenedRuntime": true,
9
+ "dmg": {
10
+ "background": "assets/macos/dmg/background.png",
11
+ "windowSize": {
12
+ "width": 680,
13
+ "height": 420
14
+ },
15
+ "appPosition": {
16
+ "x": 190,
17
+ "y": 250
18
+ },
19
+ "applicationFolderPosition": {
20
+ "x": 500,
21
+ "y": 250
22
+ }
23
+ }
8
24
  }
9
25
  }
10
26
  }