mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-24 16:40:25 +00:00
[release]
This commit is contained in:
parent
569e262c97
commit
ac7140f8ae
2 changed files with 21 additions and 19 deletions
|
@ -34,25 +34,25 @@ public class TroubleshootComp extends Comp<CompStructure<?>> {
|
|||
.grow(true, false),
|
||||
null)
|
||||
.separator()
|
||||
.addComp(
|
||||
new TileButtonComp("restart", "restartDescription", "mdmz-refresh", e -> {
|
||||
OperationMode.executeAfterShutdown(() -> {
|
||||
try (var sc = ShellStore.createLocal()
|
||||
.control()
|
||||
.start()) {
|
||||
var script = FileNames.join(
|
||||
XPipeInstallation.getCurrentInstallationBasePath()
|
||||
.toString(),
|
||||
XPipeInstallation.getDaemonExecutablePath(sc.getOsType()));
|
||||
sc.executeSimpleCommand(
|
||||
ScriptHelper.createDetachCommand(sc, "\"" + script + "\""));
|
||||
}
|
||||
});
|
||||
e.consume();
|
||||
})
|
||||
.grow(true, false),
|
||||
null)
|
||||
.separator()
|
||||
// .addComp(
|
||||
// new TileButtonComp("restart", "restartDescription", "mdmz-refresh", e -> {
|
||||
// OperationMode.executeAfterShutdown(() -> {
|
||||
// try (var sc = ShellStore.createLocal()
|
||||
// .control()
|
||||
// .start()) {
|
||||
// var script = FileNames.join(
|
||||
// XPipeInstallation.getCurrentInstallationBasePath()
|
||||
// .toString(),
|
||||
// XPipeInstallation.getDaemonExecutablePath(sc.getOsType()));
|
||||
// sc.executeSimpleCommand(
|
||||
// ScriptHelper.createDetachCommand(sc, "\"" + script + "\""));
|
||||
// }
|
||||
// });
|
||||
// e.consume();
|
||||
// })
|
||||
// .grow(true, false),
|
||||
// null)
|
||||
// .separator()
|
||||
.addComp(
|
||||
new TileButtonComp("launchDebugMode", "launchDebugModeDescription", "mdmz-refresh", e -> {
|
||||
OperationMode.executeAfterShutdown(() -> {
|
||||
|
|
2
dist/changelogs/1.2.0.md
vendored
2
dist/changelogs/1.2.0.md
vendored
|
@ -7,4 +7,6 @@
|
|||
- Add support for handling symbolic links in file browser
|
||||
- Add support for many more Linux terminals
|
||||
- Improve UI layout on Linux systems
|
||||
- Introduce new logo
|
||||
- Fix macOS local machine shell connection not finding some executables
|
||||
- Many small miscellaneous fixes and improvements
|
||||
|
|
Loading…
Reference in a new issue