forked from ActivityWatch/aw-tauri
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: stop watchers/modules on app close (ActivityWatch#7)
* chore: cargo fmt * chore: Update Cargo.lock and Cargo.toml with nix and winapi * refactor: Update manager.rs to send SIGTERM to watchers on app exit * chore: bug fix * feat: bug fix
- Loading branch information
Showing
5 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
fn main() { | ||
let webui_var = std::env::var("AW_WEBUI_DIR"); | ||
if let Err(_) = webui_var { | ||
panic!("AW_WEBUI_DIR environment variable not set, Try running make"); | ||
} | ||
tauri_build::build(); | ||
let webui_var = std::env::var("AW_WEBUI_DIR"); | ||
|
||
if let Err(_) = webui_var { | ||
panic!("AW_WEBUI_DIR environment variable not set, Try running make"); | ||
} | ||
tauri_build::build(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters