Add launcher updater todo for later

pull/32/head
Miepee 4 years ago committed by GitHub
parent dcc99707b7
commit 339fbcd502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -207,7 +207,8 @@ namespace AM2RLauncher
CrossPlatformOperations.CopyOldConfigToNewConfig();
log.Info("Files extracted. Preparing to restart executable...");
// TODO: This will fail if CWD is not where the launcher is located. Use absolute path here.
if (OS.IsLinux) System.Diagnostics.Process.Start("chmod", "+x ./AM2RLauncher.Gtk");
System.Diagnostics.Process.Start(updatePath + "/" + CrossPlatformOperations.LAUNCHERNAME);
@ -219,4 +220,4 @@ namespace AM2RLauncher
}
}
}
}
}

Loading…
Cancel
Save