summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/installer.nsi2
-rw-r--r--xmake/core/sandbox/modules/io.lua4
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