Removed references to live mode in the citadel-installer-ui
This commit is contained in:
parent
3cf87ee1da
commit
ef04bc1786
@ -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" }
|
||||||
|
@ -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) {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user