pake-cli 3.2.16 → 3.2.17

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,12 +1,12 @@
1
1
  {
2
2
  "windows": [
3
3
  {
4
- "url": "https://weekly.tw93.fun",
4
+ "url": "https://github.com",
5
5
  "url_type": "web",
6
- "hide_title_bar": false,
6
+ "hide_title_bar": true,
7
7
  "fullscreen": false,
8
8
  "width": 1200,
9
- "height": 780,
9
+ "height": 800,
10
10
  "resizable": true,
11
11
  "always_on_top": false,
12
12
  "dark_mode": false,
@@ -14,7 +14,8 @@
14
14
  "disabled_web_shortcuts": false,
15
15
  "hide_on_close": true,
16
16
  "incognito": false,
17
- "title": null
17
+ "title": null,
18
+ "enable_wasm": false
18
19
  }
19
20
  ],
20
21
  "user_agent": {
@@ -1,24 +1,26 @@
1
1
  {
2
- "productName": "TestWindowPosition",
3
- "identifier": "com.pake.33f03a",
2
+ "productName": "GitHubMultiArch",
3
+ "identifier": "com.pake.3097fc",
4
4
  "version": "1.0.0",
5
5
  "app": {
6
- "withGlobalTauri": true
6
+ "withGlobalTauri": true,
7
+ "security": {
8
+ "headers": {}
9
+ }
7
10
  },
8
11
  "build": {
9
12
  "frontendDist": "../dist"
10
13
  },
11
14
  "bundle": {
12
15
  "icon": [
13
- "/private/var/folders/v3/4mpcxc0564j9qhpf8jpf6r_r0000gp/T/tmp-42188-mH4TwtV55OLm/converted-icons/testwindowposition.icns"
16
+ "/private/var/folders/v3/4mpcxc0564j9qhpf8jpf6r_r0000gp/T/tmp-5358-aQ26u2gjnt3X/converted-icons/githubmultiarch.icns"
14
17
  ],
15
18
  "active": true,
16
- "macOS": {},
17
19
  "targets": [
18
- "dmg"
20
+ "app"
19
21
  ],
20
22
  "resources": [
21
- "icons/testwindowposition.icns"
23
+ "icons/githubmultiarch.icns"
22
24
  ]
23
25
  }
24
26
  }
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "bundle": {
3
3
  "icon": [
4
- "/private/var/folders/v3/4mpcxc0564j9qhpf8jpf6r_r0000gp/T/tmp-42188-mH4TwtV55OLm/converted-icons/testwindowposition.icns"
4
+ "/private/var/folders/v3/4mpcxc0564j9qhpf8jpf6r_r0000gp/T/tmp-5358-aQ26u2gjnt3X/converted-icons/githubmultiarch.icns"
5
5
  ],
6
6
  "active": true,
7
- "macOS": {},
8
7
  "targets": [
9
- "dmg"
8
+ "app"
10
9
  ],
11
10
  "resources": [
12
- "icons/testwindowposition.icns"
11
+ "icons/githubmultiarch.icns"
13
12
  ]
14
13
  }
15
14
  }
@@ -1 +1 @@
1
- {"pake-capability":{"identifier":"pake-capability","description":"Capability for the pake app.","remote":{"urls":["https://*.*"]},"local":true,"webviews":["pake"],"permissions":["shell:allow-open","core:window:allow-theme","core:window:allow-start-dragging","core:window:allow-toggle-maximize","core:window:allow-is-fullscreen","core:window:allow-set-fullscreen","core:webview:allow-internal-toggle-devtools","notification:allow-is-permission-granted","notification:allow-notify","notification:allow-get-active","notification:allow-register-listener","notification:allow-register-action-types","notification:default"]}}
1
+ {"pake-capability":{"identifier":"pake-capability","description":"Capability for the pake app.","remote":{"urls":["https://*.*"]},"local":true,"webviews":["pake"],"permissions":["shell:allow-open","core:window:allow-theme","core:window:allow-start-dragging","core:window:allow-toggle-maximize","core:window:allow-is-fullscreen","core:window:allow-set-fullscreen","core:webview:allow-internal-toggle-devtools","notification:allow-is-permission-granted","notification:allow-notify","notification:allow-get-active","notification:allow-register-listener","notification:allow-register-action-types","notification:default","core:path:default"]}}
@@ -16,6 +16,7 @@ pub struct WindowConfig {
16
16
  pub hide_on_close: bool,
17
17
  pub incognito: bool,
18
18
  pub title: Option<String>,
19
+ pub enable_wasm: bool,
19
20
  }
20
21
 
21
22
  #[derive(Debug, Serialize, Deserialize)]
@@ -46,6 +46,13 @@ pub fn set_window(app: &mut App, config: &PakeConfig, tauri_config: &Config) ->
46
46
  .initialization_script(include_str!("../inject/style.js"))
47
47
  .initialization_script(include_str!("../inject/custom.js"));
48
48
 
49
+ // Configure WASM support with required headers for SharedArrayBuffer
50
+ if window_config.enable_wasm {
51
+ window_builder = window_builder
52
+ .additional_browser_args("--enable-features=SharedArrayBuffer")
53
+ .additional_browser_args("--enable-unsafe-webgpu");
54
+ }
55
+
49
56
  // Configure proxy if specified
50
57
  if !config.proxy_url.is_empty() {
51
58
  if let Ok(proxy_url) = Url::from_str(&config.proxy_url) {
@@ -8,6 +8,9 @@
8
8
  "iconPath": "png/weekly_512.png",
9
9
  "iconAsTemplate": false,
10
10
  "id": "pake-tray"
11
+ },
12
+ "security": {
13
+ "headers": {}
11
14
  }
12
15
  },
13
16
  "build": {