fix(ci): add libsodium to all build environments #106

Merged
sarman merged 4 commits from fix/updater-issues into master 2026-06-18 00:02:21 +00:00
2 changed files with 17 additions and 0 deletions
Showing only changes of commit 2fae73fb3a - Show all commits

View File

@ -626,4 +626,17 @@ mod updater_tests {
assert!(!is_newer_version("", "1.0.0"));
assert!(!is_newer_version("1.0.0", ""));
}
#[test]
fn test_update_channel_default() {
let settings = AppSettings::default();
assert_eq!(settings.update_channel, "stable");
}
#[test]
fn test_update_channel_serialization() {
let settings = AppSettings::default();
let json = serde_json::to_string(&settings).unwrap();
assert!(json.contains("\"stable\""));
}
}

View File

@ -256,6 +256,10 @@ pub fn run() {
commands::system::get_sudo_config_status,
commands::system::test_sudo_password,
commands::system::clear_sudo_password,
commands::system::check_app_updates,
commands::system::install_app_updates,
commands::system::get_update_channel,
commands::system::set_update_channel,
// MCP Servers
mcp::commands::list_mcp_servers,
mcp::commands::create_mcp_server,