mirror of
https://github.com/sayanarijit/xplr
synced 2024-11-04 18:00:14 +00:00
Fix incompatible config version
Fixes: https://github.com/sayanarijit/xplr/issues/97
This commit is contained in:
parent
36c2c9cc2b
commit
e9b5dfe478
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1630,7 +1630,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "xplr"
|
||||
version = "0.5.5"
|
||||
version = "0.5.6"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "xplr"
|
||||
version = "0.5.5" # Update config.yml, config.rs and default.nix
|
||||
version = "0.5.6" # Update config.yml, config.rs and default.nix
|
||||
authors = ["Arijit Basu <sayanarijit@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "A hackable, minimal, fast TUI file explorer"
|
||||
|
@ -665,6 +665,8 @@ impl Config {
|
||||
|
||||
pub fn is_compatible(&self) -> Result<bool> {
|
||||
let result = match self.parsed_version()? {
|
||||
(0, 5, 6) => true,
|
||||
(0, 5, 5) => true,
|
||||
(0, 5, 4) => true,
|
||||
(0, 5, 3) => true,
|
||||
(0, 5, 2) => true,
|
||||
@ -678,7 +680,8 @@ impl Config {
|
||||
|
||||
pub fn upgrade_notification(&self) -> Result<Option<&str>> {
|
||||
let result = match self.parsed_version()? {
|
||||
(0, 5, 5) => None,
|
||||
(0, 5, 6) => None,
|
||||
(0, 5, 5) => Some("App version updated. Significant reduction in CPU usage"),
|
||||
(0, 5, 4) => Some("App version updated. Significant reduction in CPU usage"),
|
||||
(0, 5, 3) => Some("App version updated. Fixed exit on permission denied"),
|
||||
(0, 5, 2) => Some("App version updated. Now pwd is synced with your terminal session"),
|
||||
|
@ -1,4 +1,4 @@
|
||||
version: v0.5.5
|
||||
version: v0.5.6
|
||||
general:
|
||||
show_hidden: false
|
||||
read_only: false
|
||||
|
Loading…
Reference in New Issue
Block a user