From 79774698ca103ec081c354ff77ecc43db2888db8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 28 Aug 2012 14:59:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=AE=E5=BD=95=E5=92=8C=20solo=20=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E4=B8=80=E7=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper/tools/get-static.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/tools/get-static.js b/helper/tools/get-static.js index c2829dd..5efb842 100644 --- a/helper/tools/get-static.js +++ b/helper/tools/get-static.js @@ -39,7 +39,7 @@ var skins = getAllFiles("../.."); (function () { mkdirsSync("static"); for (var i = 0; i < skins.length; i++) { - mkdirsSync(path.dirname(skins[i].replace("../..", "static"))); - fs.writeFileSync(skins[i].replace("../..", "static"), fs.readFileSync(skins[i]), "UTF-8"); + mkdirsSync(path.dirname(skins[i].replace("../..", "static/skins"))); + fs.writeFileSync(skins[i].replace("../..", "static/skins"), fs.readFileSync(skins[i]), "UTF-8"); } })(); \ No newline at end of file