If its needed here is the build code:
Code: Select all
{
"selector": "source.lua",
"cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
}
Code: Select all
{
"selector": "source.lua",
"cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
}
Code: Select all
{
"selector": "source.lua",
"shell": true,
"cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
}
Hmm, with that it now gives me an error as follows:szensk wrote:tryCode: Select all
{ "selector": "source.lua", "shell": true, "cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"] }
Code: Select all
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.0s with exit code 1]
szensk wrote:try escape quotes?
"cmd": ["\"C:\\Program Files (x86)\\LOVE\\love.exe\"", "$file_path"]
Code: Select all
The filename, directory name, or volume label syntax is incorrect.
[Finished in 0.0s with exit code 1]
Code: Select all
{
"selector": "source.lua",
"shell": true,
"cmd": ["C:\\Program Files (x86)\\LOVE\\love.exe", "$file_path"]
},
Code: Select all
{
"path": "C:\\Program Files (x86)\\LOVE",
"selector": "source.lua",
"shell": true,
"cmd": ["love", "$file_path"]
}
Code: Select all
{
"shell": true,
"path": "/apps/SDKs/love",
"cmd": ["love", "${project_path:${folder:${file_path}}}"],
"selector": "source.lua.love"
}
Ah, worked like a charm thanks!DelishusCake wrote:Try setting a path instead:Code: Select all
{ "path": "C:\\Program Files (x86)\\LOVE", "selector": "source.lua", "shell": true, "cmd": ["love", "$file_path"] }
Users browsing this forum: Amazon [Bot], Bing [Bot] and 12 guests