Path handling fixes

This commit is contained in:
luboslenco
2025-11-21 18:42:36 +01:00
parent 5a3ad739c6
commit 8af2e7d325
+2 -2
View File
@@ -107,11 +107,11 @@ function neural_node_download(url: string) {
// todo // todo
if (ends_with(url, "sd_vulkan")) { if (ends_with(url, "sd_vulkan")) {
let bin: string = neural_node_dir() + "/sd_vulkan"; let bin: string = neural_node_dir() + "/sd_vulkan";
iron_sys_command("chmod +x '" + bin + "'"); iron_sys_command("chmod +x \"" + bin + "\"");
} }
else if (ends_with(url, "sd_cpu")) { else if (ends_with(url, "sd_cpu")) {
let bin: string = neural_node_dir() + "/sd_cpu"; let bin: string = neural_node_dir() + "/sd_cpu";
iron_sys_command("chmod +x '" + bin + "'"); iron_sys_command("chmod +x \"" + bin + "\"");
} }
/// end /// end
}); });