We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9b1146 commit fb6529aCopy full SHA for fb6529a
build.rs
@@ -1,11 +1,13 @@
1
use std::io;
2
-#[cfg(windows)] use winres::WindowsResource;
+#[cfg(windows)]
3
+use winres::WindowsResource;
4
5
fn main() -> io::Result<()> {
- #[cfg(windows)] {
6
+ #[cfg(windows)]
7
+ {
8
WindowsResource::new()
9
.set_icon("favicon-32x32.ico")
10
.compile()?;
11
}
12
Ok(())
-}
13
+}
readme.md
@@ -37,3 +37,8 @@ cargo build --release
37
```
38
39
或者直接下载release
40
+
41
+# Other
42
+rsx的format可以使用[dioxus-cli](https://github.com/DioxusLabs/cli)
43
+stable版本没有fmt的子命令, 使用`cargo install --git https://github.com/DioxusLabs/cli`安装后执行`dioxus fmt`
44
0 commit comments