pake-cli 2.0.0-alpha6 โ†’ 2.0.0-alpha7

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.
package/dist/cli.js CHANGED
@@ -2493,7 +2493,7 @@ class BuilderFactory {
2493
2493
  }
2494
2494
 
2495
2495
  var name = "pake-cli";
2496
- var version = "2.0.0-alpha6";
2496
+ var version = "2.0.0-alpha7";
2497
2497
  var description = "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚";
2498
2498
  var engines = {
2499
2499
  node: ">=16.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pake-cli",
3
- "version": "2.0.0-alpha6",
3
+ "version": "2.0.0-alpha7",
4
4
  "description": "๐Ÿคฑ๐Ÿป Turn any webpage into a desktop app with Rust. ๐Ÿคฑ๐Ÿป ๅพˆ็ฎ€ๅ•็š„็”จ Rust ๆ‰“ๅŒ…็ฝ‘้กต็”Ÿๆˆๅพˆๅฐ็š„ๆกŒ้ข Appใ€‚",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -31,5 +31,8 @@ custom-protocol = ["tauri/custom-protocol"]
31
31
 
32
32
  # Pay attention to the code size during optimization in order to generate smaller binary files.
33
33
  # [profile.release]
34
- # opt-level = "s"
35
- # lto = true
34
+ # panic = "abort" # Strip expensive panic clean-up logic
35
+ # codegen-units = 1 # Compile crates one after another so the compiler can optimize better
36
+ # lto = true # Enables link to optimizations
37
+ # opt-level = "s" # Optimize for binary size
38
+ # strip = true # Remove debug symbols
@@ -272,10 +272,6 @@ window.addEventListener('DOMContentLoaded', (_event) => {
272
272
  }
273
273
  }
274
274
 
275
- #__next .prose ol {
276
- overflow: hidden;
277
- }
278
-
279
275
  #__next .prose ol li p {
280
276
  margin: 0;
281
277
  display: inline;
@@ -55,7 +55,12 @@ pub fn run_app() {
55
55
  })
56
56
  .on_window_event(|event| {
57
57
  if let tauri::WindowEvent::CloseRequested { api, .. } = event.event() {
58
+ #[cfg(target_os = "macos")]
58
59
  event.window().minimize().unwrap();
60
+
61
+ #[cfg(not(target_os = "macos"))]
62
+ event.window().close().unwrap();
63
+
59
64
  api.prevent_close();
60
65
  }
61
66
  })