From c31b585ae6ab8f24f03b9d194b9f209559279b1c Mon Sep 17 00:00:00 2001 From: WanderWang Date: Fri, 17 Oct 2014 15:14:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8D=87=E7=BA=A7=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/lib/tools/upgrade.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/lib/tools/upgrade.js b/tools/lib/tools/upgrade.js index 5c2813dfd5..fddc1ec054 100644 --- a/tools/lib/tools/upgrade.js +++ b/tools/lib/tools/upgrade.js @@ -15,7 +15,8 @@ var upgradeConfigArr = [ {"v" : "1.0.4", "func":upgradeTo_1_0_4}, {"v" : "1.0.5", "func":upgradeTo_1_0_5}, {"v" : "1.0.6", "func":upgradeTo_1_0_6}, - {"v" : "1.1.0", "func":upgradeTo_1_1_0} + {"v" : "1.1.0", "func":upgradeTo_1_1_0}, + {"v" : "1.1.1", "func":upgradeTo_1_1_1} ]; var currDir; @@ -190,6 +191,12 @@ function upgradeTo_1_1_0() { globals.exit(1703); } +function upgradeTo_1_1_1(){ + projectConfig.init(currDir); + projectConfig.data.egret_version = "1.1.1"; + projectConfig.save(); +} + function getClassList(item) { var basename = path.basename(item) return basename.substring(0, basename.indexOf("."))