mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Open urls with exe (#146)
* Launch Epic Games in safe mode through the exe * Launch through exe for amazon games * Remove unused comment * Launch Uplay games through exe * Fix epic tests * Always launch origin games through the exe * Fix that compat_folder is an option on unix
This commit is contained in:
@@ -258,6 +258,20 @@ impl MyEguiApp {
|
||||
epic_settings.location = Some(epic_location.to_string());
|
||||
}
|
||||
});
|
||||
ui.horizontal(|ui| {
|
||||
let mut empty_string = "".to_string();
|
||||
let epic_location = epic_settings.launcher_exe.as_mut().unwrap_or(&mut empty_string);
|
||||
ui.label("Epic Launcher Location: ").on_hover_text(
|
||||
"The location of the Epic launcher exe",
|
||||
);
|
||||
if ui.text_edit_singleline(epic_location).changed() {
|
||||
if epic_location.is_empty(){
|
||||
epic_settings.launcher_exe = None;
|
||||
}else{
|
||||
epic_settings.launcher_exe = Some(epic_location.to_string());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
let safe_mode_header = match epic_settings.safe_launch.len() {
|
||||
0 => "Force games to launch through Epic Launcher".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user