From 9158d17f4a2922fd4ff815b6428e1626285dc891 Mon Sep 17 00:00:00 2001 From: Takanori Hirano Date: Sun, 20 Mar 2022 15:33:40 +0000 Subject: [PATCH] v0.1.10 --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++-- src/main.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b8addc4..8f9c62f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1151,7 +1151,7 @@ dependencies = [ [[package]] name = "ntf" -version = "0.1.9" +version = "0.1.10" dependencies = [ "async-std", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index d6f5ed9..d22dd5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ntf" -version = "0.1.9" +version = "0.1.10" authors = ["Takanori Hirano "] edition = "2018" diff --git a/README.md b/README.md index 4e5f77b..644e2af 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ However, support for the backend type is poorer than ntfy. ```sh $ # for linux -$ sudo curl -L https://github.com/hrntknr/ntf/releases/download/v0.1.9/ntf-x86_64-unknown-linux-gnu -o /usr/local/bin/ntf +$ sudo curl -L https://github.com/hrntknr/ntf/releases/download/v0.1.10/ntf-x86_64-unknown-linux-gnu -o /usr/local/bin/ntf $ # for mac -$ # sudo curl -L https://github.com/hrntknr/ntf/releases/download/v0.1.9/ntf-x86_64-apple-darwin -o /usr/local/bin/ntf +$ # sudo curl -L https://github.com/hrntknr/ntf/releases/download/v0.1.10/ntf-x86_64-apple-darwin -o /usr/local/bin/ntf $ sudo chmod +x /usr/local/bin/ntf $ echo -e 'backends: ["pushover"]\npushover: {"user_key": "t0k3n"}' > ~/.ntf.yml diff --git a/src/main.rs b/src/main.rs index 7bf70b0..97e1142 100644 --- a/src/main.rs +++ b/src/main.rs @@ -320,7 +320,7 @@ fn shell_integration( if !file.exists() { fs::write(file, include_str!("./ntf-shell-hook.sh"))? }; - println!("export ${{AUTO_NTF_DONE_LONGER_THAN:=10}}"); + println!("export AUTO_NTF_DONE_LONGER_THAN=${{AUTO_NTF_DONE_LONGER_THAN:=10}}"); println!( "source {}/ntf/ntf-shell-hook.sh", dirs::data_local_dir()