This commit is contained in:
Luke D. Jones
2021-09-16 11:19:05 +12:00
parent 9fadb6db30
commit e3d192412e
7 changed files with 16 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "asusctl"
version = "4.0.2"
version = "4.0.3"
authors = ["Luke D Jones <luke@ljones.dev>"]
edition = "2018"
@@ -15,7 +15,7 @@ rog_profiles = { path = "../rog-profiles" }
rog_supported = { path = "../rog-supported" }
daemon = { path = "../daemon" }
gumdrop = "^0.8"
supergfxctl = { git = "https://gitlab.com/asus-linux/supergfxctl.git", tag = "2.0.0" }
supergfxctl = { path = "../../supergfxctl" }
toml = "^0.5.8"
sysfs-class = "^0.1.2"
@@ -24,4 +24,4 @@ sysfs-class = "^0.1.2"
tinybmp = "^0.2.3"
glam = "0.14.0"
rog_dbus = { path = "../rog-dbus" }
gif = "^0.11.2"
gif = "^0.11.2"

View File

@@ -451,7 +451,7 @@ fn handle_fan_curve(
std::process::exit(1);
}
if cmd.enabled.is_some() || cmd.fan.is_some() || cmd.data.is_some() && cmd.mod_profile.is_none()
if (cmd.enabled.is_some() || cmd.fan.is_some() || cmd.data.is_some()) && cmd.mod_profile.is_none()
{
println!("--enabled, --fan, and --data options require --mod-profile");
std::process::exit(666);