mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Restored version from env
This commit is contained in:
@@ -118,7 +118,7 @@ impl AuthActivity {
|
||||
if client.get_check_for_updates() {
|
||||
debug!("Check for updates is enabled");
|
||||
// Send request
|
||||
match git::check_for_updates("0.5.0") {
|
||||
match git::check_for_updates(env!("CARGO_PKG_VERSION")) {
|
||||
Ok(github_tag) => github_tag,
|
||||
Err(err) => {
|
||||
// Report error
|
||||
|
||||
Reference in New Issue
Block a user