Skip to content

Commit

Permalink
基于 tauri 2 重构
Browse files Browse the repository at this point in the history
  • Loading branch information
WITstudio86 committed Aug 8, 2024
1 parent 6083e00 commit d20b7f7
Show file tree
Hide file tree
Showing 99 changed files with 24,148 additions and 1,533 deletions.
4,798 changes: 4,189 additions & 609 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "leptos_open_wechat"
version = "0.1.0"
version = "0.2.4"
edition = "2021"

[dependencies]
Expand All @@ -11,3 +11,6 @@ serde = { version = "1.0.204", features = ["derive"] }
serde-wasm-bindgen = "0.6.5"
wasm-bindgen = "0.2.92"
wasm-bindgen-futures = "0.4.42"

[workspace]
members = ["src-tauri"]
11 changes: 11 additions & 0 deletions Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[build]
target = "./index.html"

[watch]
ignore = ["./src-tauri"]

[serve]
address = "0.0.0.0"
port = 1420
open = false
ws_protocol = "ws"
12 changes: 6 additions & 6 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<title>Document</title>
<link rel="stylesheet" href="/output-7aacb22fb5660605.css" integrity="sha384&#x2D;tvVVnBSGm9pgWCtw17PS0iewjncuBBemAC0l4m91oY4k3fXCL3UPEHc5sUZtQ1ac"/>

<script type="module" nonce="iY+6eIyinEUvVyz43SYEdA==">
import init, * as bindings from '/leptos_open_wechat-3bf700fbef5eaabc.js';
const wasm = await init('/leptos_open_wechat-3bf700fbef5eaabc_bg.wasm');
<script type="module" nonce="adaoLgbmGyiL6BEbKRAn6Q==">
import init, * as bindings from '/leptos_open_wechat-c90a8c226501e87f.js';
const wasm = await init('/leptos_open_wechat-c90a8c226501e87f_bg.wasm');


window.wasmBindings = bindings;
Expand All @@ -20,8 +20,8 @@
</script>


<link rel="modulepreload" href="/leptos_open_wechat-3bf700fbef5eaabc.js" crossorigin=anonymous integrity="sha384-vSTa+MzyVe200xPcvdAs5edUq3Br420EzGp2v92kTqL/B1FOuLe/7MkC+/7S2dMb">
<link rel="preload" href="/leptos_open_wechat-3bf700fbef5eaabc_bg.wasm" crossorigin=anonymous integrity="sha384-5rBHZkshRpFgmKLKLzBeGpths/nO0EYdxQHKmmBEi6IyORIIYeZt1gpXwstb43mf" as="fetch" type="application/wasm"></head>
<link rel="modulepreload" href="/leptos_open_wechat-c90a8c226501e87f.js" crossorigin=anonymous integrity="sha384-KVwf+R0qMl9jf/rqhF2tl21fQVWB/+Vq/96LY1Hdu+EgCgt9GZHJBv7xgR+4sNhO">
<link rel="preload" href="/leptos_open_wechat-c90a8c226501e87f_bg.wasm" crossorigin=anonymous integrity="sha384-R3dOIHii2ibS9kKcBEFJvlLhixxvq/u8z2ja2ENltwBQBXNj2RBYinV0q/qlOMVi" as="fetch" type="application/wasm"></head>

<body>
<script>"use strict";
Expand All @@ -30,7 +30,7 @@

const address = '{{__TRUNK_ADDRESS__}}';
const base = '{{__TRUNK_WS_BASE__}}';
let protocol = '';
let protocol = 'ws';
protocol =
protocol
? protocol
Expand Down
Loading

0 comments on commit d20b7f7

Please sign in to comment.