mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] ServerWrapper set start.sh executable
This commit is contained in:
parent
c75185f697
commit
4ff13a67b9
1 changed files with 5 additions and 0 deletions
|
@ -134,5 +134,10 @@ public void run() throws Exception {
|
|||
writer.append(ServerWrapper.class.getName());
|
||||
writer.append("\n");
|
||||
}
|
||||
if(JVMHelper.OS_TYPE != JVMHelper.OS.MUSTDIE) {
|
||||
if(!startScript.toFile().setExecutable(true)) {
|
||||
LogHelper.error("Failed to set executable %s", startScript);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue