diff --git a/Cargo.lock b/Cargo.lock index 9e45ab5..471e09f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -43,7 +43,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee" [[package]] -name = "elmojinput" +name = "emojinput" version = "0.1.0" dependencies = [ "web-view", diff --git a/Cargo.toml b/Cargo.toml index 6cc1c29..467e59a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "elmojinput" +name = "emojinput" version = "0.1.0" edition = "2021" diff --git a/src/main.rs b/src/main.rs index 9f2c62d..efd47bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,11 +5,11 @@ use web_view::*; fn main() { #[cfg(debug_assertions)] - let js = include_str!("../../elmoji/js/main.js"); + let js = include_str!("../js/main.js"); #[cfg(not(debug_assertions))] - let js = include_str!("../../elmoji/js/main.min.js"); + let js = include_str!("../js/main.min.js"); - let html_content = include_str!("../../elmoji/index.html").replace( + let html_content = include_str!("../index.html").replace( "", &format!("", js), );