Skip to content

Commit

Permalink
FIX #3
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Nov 21, 2023
1 parent f13758c commit 970963e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/cppcxy/ide/lsp/SumnekoAdaptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object SumnekoAdaptor {
val file = File(luaLanguageServer)
if (file.exists() && !file.canExecute()) {
val runtime = Runtime.getRuntime()
val process = runtime.exec(arrayOf("chmod", "+x", file.absolutePath))
val process = runtime.exec(arrayOf("chmod", "u+x", file.absolutePath))
process.waitFor()
}
}
Expand Down

0 comments on commit 970963e

Please sign in to comment.