mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
Debian: Allows special characters in title
When using spaces in title, the executable in /usr/bin would silently not load the file and show the default "no game" screen
This commit is contained in:
@@ -106,7 +106,7 @@ function s.script(project)
|
||||
-- /usr/bin/${PACKAGE}
|
||||
writeFile("/usr/bin/"..project.package,
|
||||
"#!/bin/sh\n"..
|
||||
"love "..loveFileDeb.."\n",
|
||||
"love '"..loveFileDeb:gsub("'", "\\'").."'\n",
|
||||
true
|
||||
)
|
||||
assert(fs.chmod(tempDir.."/usr/bin/"..project.package, "+x"))
|
||||
|
Reference in New Issue
Block a user