1
0
forked from brl/citadel-tools

Removed references to live mode in the citadel-installer-ui

This commit is contained in:
David McKinney 2021-01-15 09:00:20 -05:00 committed by Bruce Leidl
parent 3cf87ee1da
commit ef04bc1786
3 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@ name = "citadel-installer-ui"
version = "0.1.0" version = "0.1.0"
authors = ["David McKinney <mckinney@subgraph.com>"] authors = ["David McKinney <mckinney@subgraph.com>"]
edition = "2018" edition = "2018"
description = "Citadel Installer UI"
homepage = "https://subgraph.com"
[dependencies] [dependencies]
libcitadel = { path = "../libcitadel" } libcitadel = { path = "../libcitadel" }

View File

@ -25,7 +25,7 @@ fn main() {
gtk::DialogFlags::empty(), gtk::DialogFlags::empty(),
gtk::MessageType::Error, gtk::MessageType::Error,
gtk::ButtonsType::Cancel, gtk::ButtonsType::Cancel,
"Citadel Installer can only be run during install or live mode"); "Citadel Installer can only be run during install mode");
dialog.run(); dialog.run();
} else { } else {
match Ui::build(app) { match Ui::build(app) {

View File

@ -6,7 +6,7 @@ mod dbus;
use libcitadel::CommandLine; use libcitadel::CommandLine;
pub fn main() { pub fn main() {
if CommandLine::live_mode() || CommandLine::install_mode() { if CommandLine::install_mode() {
if let Err(e) = run_dbus_server() { if let Err(e) = run_dbus_server() {
warn!("Error: {}", e); warn!("Error: {}", e);
} }