update monolith

This commit is contained in:
tensor-programming 2019-12-24 13:42:05 -05:00
parent caf5f198ea
commit fac097f51a
3 changed files with 25 additions and 4 deletions

View File

@ -9,6 +9,7 @@ license = ""
repository = ""
default-run = "app"
edition = "2018"
build = "src/build.rs"
[package.metadata.bundle]
identifier = "com.tauri.dev"
@ -21,17 +22,20 @@ icon = [
]
[dependencies]
serde_json = "1.0.44"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0.41"
serde = "1.0.104"
serde_derive = "1.0.104"
tiny_http = "0.6"
phf = "0.8.0"
includedir = "0.5.0"
tauri_includedir = "0.5.0"
[dependencies.tauri]
path = "../../../../tauri"
features = [ "all-api", "edge" ]
[target."cfg(windows)".build-dependencies]
winres = "0.1"
[features]
dev-server = [ "tauri/dev-server" ]
embedded-server = [ "tauri/embedded-server" ]

View File

@ -0,0 +1,12 @@
#[cfg(windows)]
extern crate winres;
#[cfg(windows)]
fn main() {
let mut res = winres::WindowsResource::new();
res.set_icon("icons/icon.ico");
res.compile().expect("Unable to find visual studio tools");
}
#[cfg(not(windows))]
fn main() {}

View File

@ -1,3 +1,8 @@
#![cfg_attr(
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
mod cmd;
#[macro_use]