From 95a164d2720c9688a60ef8701a3861cea3e64381 Mon Sep 17 00:00:00 2001 From: HeffU Date: Wed, 30 Sep 2026 21:53:07 +0200 Subject: [PATCH] Fix powershell escapes and quoting --- lua/defold/service/os.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/defold/service/os.lua b/lua/defold/service/os.lua index fa987c5..65b394b 100644 --- a/lua/defold/service/os.lua +++ b/lua/defold/service/os.lua @@ -79,7 +79,7 @@ function M.download(url, to_path) if M.is_windows() then M.exec( string.format( - 'powershell -Command "Invoke-WebRequest -Uri \\"%s\\" -UserAgent \\"%s\\" -OutFile \\"%s\\""', + 'powershell -Command "Invoke-WebRequest -Uri \'%s\' -UserAgent \'%s\' -OutFile \'%s\'"', url, user_agent, to_path @@ -133,7 +133,7 @@ function M.move(from_path, to_path) if M.is_windows() then M.exec( string.format( - 'powershell.exe -Command "Move-Item -Path \\"%s\\" -Destination \\"%s\\""', + 'powershell.exe -Command "Move-Item -Path \'%s\' -Destination \'%s\'"', from_path, to_path )