Skip to content

Commit

Permalink
Fix space problem
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Apr 19, 2016
1 parent 6bd9f2b commit b32730b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions RunZ.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -1381,9 +1381,10 @@ UpdateSendTo(create = true, overwrite = false)
return
}

fileContent := "var RunZCmdTool = '"
fileContent .= StrReplace(A_ScriptDir, "\", "\\") "\\RunZ.exe "
. StrReplace(A_ScriptDir, "\", "\\") "\\Core\\RunZCmdTool.ahk'`n"
; 注意引号和空格!
fileContent := "var RunZCmdTool = ""\"""
fileContent .= StrReplace(A_ScriptDir, "\", "\\") "\\RunZ.exe\"" "
fileContent .= " \""" . StrReplace(A_ScriptDir, "\", "\\") . "\\Core\\RunZCmdTool.ahk\"" ""`n"

jsText =
(
Expand Down

0 comments on commit b32730b

Please sign in to comment.