From 970963ea057fa25a22f97f7b9ec3b9aeda22ac6d Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Tue, 21 Nov 2023 22:54:07 +0800 Subject: [PATCH] FIX #3 --- src/main/kotlin/com/cppcxy/ide/lsp/SumnekoAdaptor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/cppcxy/ide/lsp/SumnekoAdaptor.kt b/src/main/kotlin/com/cppcxy/ide/lsp/SumnekoAdaptor.kt index 6ecabb5..95ffbfd 100644 --- a/src/main/kotlin/com/cppcxy/ide/lsp/SumnekoAdaptor.kt +++ b/src/main/kotlin/com/cppcxy/ide/lsp/SumnekoAdaptor.kt @@ -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() } }