Skip to content

Commit

Permalink
fix io.printf bug
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 2, 2017
1 parent be424f5 commit 248b2cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RequestExecutionLevel admin
;--------------------------------
; Version Information

VIProductVersion "2.1.3.0329"
VIProductVersion "2.1.3.0402"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "XMake"
VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "website: http://www.xmake.io"
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "The TBOOX Open Source Group"
Expand Down
4 changes: 2 additions & 2 deletions xmake/core/sandbox/modules/io.lua
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ end
function sandbox_io.print(filepath, ...)

-- print it
sandbox_io.write(filepath, vformat(...) .. "\n")
sandbox_io.writefile(filepath, vformat(...) .. "\n")
end

-- print data to file
function sandbox_io.printf(filepath, ...)

-- print it
sandbox_io.write(filepath, vformat(...))
sandbox_io.writefile(filepath, vformat(...))
end

-- printf file
Expand Down

0 comments on commit 248b2cc

Please sign in to comment.