-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Arknighs onClick not triggering any dialog;
Fixed some SIFIdols crashing for an illegal char in url; First implementation of low battery event/dialog with current battery percentage; Improved BootFailedFrame with a new style; First implementation of CommandExecutor, now MMS can execute System utility commands; First Windows startup procedure, now MMS can start at boot natively; Other minor internal fixes;
- Loading branch information
1 parent
0c1cc23
commit 06de8d2
Showing
17 changed files
with
371 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/config/ | ||
/resources/ | ||
/.idea/ | ||
/logs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/main/java/com/kitsunecode/mms/core/entities/CommandOutput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.kitsunecode.mms.core.entities; | ||
|
||
public class CommandOutput { | ||
|
||
private String stdout; | ||
private String stderr; | ||
private int exitCode; | ||
private boolean hasException; | ||
private Throwable exception; | ||
|
||
public CommandOutput(String stdout, String stderr, int exitCode) { | ||
this.stderr = stderr; | ||
this.stdout = stdout; | ||
this.exitCode = exitCode; | ||
} | ||
|
||
public CommandOutput(Throwable exception) { | ||
this.exception = exception; | ||
this.hasException = true; | ||
} | ||
|
||
public String getStdout() { | ||
return stdout; | ||
} | ||
|
||
public String getStderr() { | ||
return stderr; | ||
} | ||
|
||
public int getExitCode() { | ||
return exitCode; | ||
} | ||
|
||
public boolean hasException() { | ||
return hasException; | ||
} | ||
|
||
public Throwable getException() { | ||
return exception; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.