diff --git a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs index f9e240a..5b1bc19 100644 --- a/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs +++ b/AM2RLauncher/AM2RLauncher/LauncherUpdater.cs @@ -261,7 +261,7 @@ public static class LauncherUpdater MainForm.CopyOldConfigToNewConfig(); log.Info("Files extracted. Preparing to restart executable..."); - if (OS.IsLinux) Process.Start("chmod", "+x " + updatePath + "/AM2RLauncher.Gtk"); + if (OS.IsLinux) Process.Start("chmod", "+x " + updatePath + "/" + CrossPlatformOperations.LauncherName); // And finally we restart, and boot into the new file Process.Start(updatePath + "/" + CrossPlatformOperations.LauncherName); diff --git a/AM2RLauncher/AM2RLauncher/MainForm/CustomControls/CustomButton.cs b/AM2RLauncher/AM2RLauncher/MainForm/CustomControls/CustomButton.cs index f0314ec..4c52959 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/CustomControls/CustomButton.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/CustomControls/CustomButton.cs @@ -137,6 +137,7 @@ public class CustomButton : Drawable /// /// Event raised, when this control gets focused. /// + //TODO: change focus via keyboard arrow keys protected override void OnGotFocus(EventArgs e) { hover = true;