Todo + launcher update linux safety

pull/45/head
Miepee 4 years ago
parent 0bb25b0c98
commit 7c4dc4ab80

@ -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);

@ -137,6 +137,7 @@ public class CustomButton : Drawable
/// <summary>
/// Event raised, when this control gets focused.
/// </summary>
//TODO: change focus via keyboard arrow keys
protected override void OnGotFocus(EventArgs e)
{
hover = true;

Loading…
Cancel
Save