diff options
| author | ruki <[email protected]> | 2017-04-02 17:19:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-04-02 17:19:29 +0800 |
| commit | 248b2cc8a96d41445a2e46d259d14fea8e4203ec (patch) | |
| tree | cf861f84510a014f46abd452c6ee5eb2411088fe | |
| parent | be424f5614c6d5f5afd526049cc4df2a4a866eba (diff) | |
fix io.printf bugv2.1.3
| -rw-r--r-- | scripts/installer.nsi | 2 | ||||
| -rw-r--r-- | xmake/core/sandbox/modules/io.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/installer.nsi b/scripts/installer.nsi index 2f3da5c17..f4082b69f 100644 --- a/scripts/installer.nsi +++ b/scripts/installer.nsi @@ -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"
diff --git a/xmake/core/sandbox/modules/io.lua b/xmake/core/sandbox/modules/io.lua index bc01f696c..7ca5a4def 100644 --- a/xmake/core/sandbox/modules/io.lua +++ b/xmake/core/sandbox/modules/io.lua @@ -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 |
