mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Validate settings before run
This commit is contained in:
@@ -126,6 +126,11 @@ where
|
||||
T: Into<ShortcutOwned>,
|
||||
{
|
||||
if platform.enabled() {
|
||||
if let crate::platform::SettingsValidity::Invalid { reason } = platform.settings_valid() {
|
||||
eprintln!("Setting for platform {} are invalid, reason: {}",platform.name(),reason);
|
||||
return;
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
if platform.create_symlinks() {
|
||||
let name = platform.name();
|
||||
|
||||
Reference in New Issue
Block a user