Don't ask what client to launch if update is set
This commit is contained in:
parent
8fd66d16af
commit
79559fe46a
@ -307,6 +307,11 @@ fn main() {
|
|||||||
for r in g.references.iter() {
|
for r in g.references.iter() {
|
||||||
if std::path::Path::new(r).exists() {
|
if std::path::Path::new(r).exists() {
|
||||||
if g.client.len() > 1 {
|
if g.client.len() > 1 {
|
||||||
|
if update_only {
|
||||||
|
game = String::from(g.client[0]);
|
||||||
|
break 'main;
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
setup_client_links(g, &std::env::current_dir().unwrap());
|
setup_client_links(g, &std::env::current_dir().unwrap());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user