diff --git a/Cargo.lock b/Cargo.lock index 6af08d7..2f650be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -905,7 +905,7 @@ dependencies = [ [[package]] name = "post_maker" -version = "0.6.0-alpha.2" +version = "0.6.1" dependencies = [ "bichannel", "clap", diff --git a/Cargo.toml b/Cargo.toml index c82ea2e..0bba332 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "post_maker" -version = "0.6.0-alpha.2" +version = "0.6.1" edition = "2021" description = "Post Maker helps you to make post for Instagram and other Social Media apps easily." authors = ["PiyushXCoder "] diff --git a/README.md b/README.md index 5defe79..018170c 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ You can follow rust's official guide to install rust compiler and cargo [here](h ## General Overview of Controls -![](assets/20220124_152902_screenshot.png) +![](assets/Screenshot_2022-08-19_12-42-44.png) ## License diff --git a/assets/20220124_152902_screenshot.png b/assets/20220124_152902_screenshot.png deleted file mode 100644 index 0afacb7..0000000 Binary files a/assets/20220124_152902_screenshot.png and /dev/null differ diff --git a/assets/Screenshot_2022-08-19_12-42-44.png b/assets/Screenshot_2022-08-19_12-42-44.png new file mode 100644 index 0000000..fea9279 Binary files /dev/null and b/assets/Screenshot_2022-08-19_12-42-44.png differ diff --git a/src/main.rs b/src/main.rs index 2389b6c..76ec9d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,6 +97,7 @@ fn main() { dialog::message_default(&msg); std::process::exit(1); } + // Fltk does not show dialogs from other thread in windows, So this is hack to get things done AppMessage::DeleteImage => { let ch = dialog::choice_default("Image is too small", "Delete", "Keep"); if ch == 0 {