Nicolas Cannasse 13 年 前
コミット
92bf8c46e9
3 ファイル変更11 行追加10 行削除
  1. 9 9
      std/tools/hxinst/Main.hx
  2. 1 0
      std/tools/hxinst/hxinst-dmg.sh
  3. 1 1
      std/tools/hxinst/hxinst.hxml

+ 9 - 9
std/tools/hxinst/Main.hx

@@ -141,7 +141,7 @@ class Main {
 		];
 		for( d in dirs )
 			if( !debug && sys.FileSystem.exists(d) )
-				error("A previous haXe/Neko version seems to be installed in '"+d+"', please remove it first");
+				error("A previous Haxe/Neko version seems to be installed in '"+d+"', please remove it first");
 		if( debug )
 			display("DEBUG MODE ON");
 
@@ -159,7 +159,7 @@ class Main {
 		}
 
 		// GET haxe Version
-		display("Getting Local haXe Version");
+		display("Getting Local Haxe Version");
 		var content = commandOutput("haxe");
 		var r = ~/^Haxe Compiler ([0-9]+)\.([0-9]+)/;
 		var haxeVersion = null;
@@ -182,8 +182,8 @@ class Main {
 				build : Std.parseInt(r.matched(4))
 			};
 
-		// GET haXe files list
-		display("Getting Latest haXe Version");
+		// GET Haxe files list
+		display("Getting Latest Haxe Version");
 		var haxeFile = null;
 		var r = ~/^haxe-([0-9]+)\.([0-9]+)(-win|-linux|-osx)(\.zip|\.tar\.gz)$/;
 		for( f in haxe.Http.requestUrl("http://haxe.org/wiki/latest").split("\n") )
@@ -206,7 +206,7 @@ class Main {
 				break;
 			}
 		if( haxeFile == null )
-			error("No haXe File found for your plaform");
+			error("No Haxe File found for your plaform");
 
 		// GET Neko files list
 		display("Getting Latest Neko Version");
@@ -232,13 +232,13 @@ class Main {
 				break;
 			}
 		if( nekoFile == null )
-			error("No haXe File found for your plaform");
+			error("No Haxe File found for your plaform");
 
 		// ASK QUESTIONS IF OK TO INSTALL
 		var needHaxe = newVersion(haxeVersion,haxeFile.version);
 		var needNeko = newVersion(nekoVersion,nekoFile.version);
 		if( !needHaxe && !needNeko ) {
-			if( !ask("Both your haXe and Neko versions are up-to-date, do you want to reinstall everything ?") )
+			if( !ask("Both your Haxe and Neko versions are up-to-date, do you want to reinstall everything ?") )
 				throw "Installation Aborted";
 			needHaxe = true;
 			needNeko = true;
@@ -250,7 +250,7 @@ class Main {
 					txt += " and ";
 			}
 			if( needHaxe )
-				txt += "haXe "+version(haxeFile.version,true);
+				txt += "Haxe "+version(haxeFile.version,true);
 			if( !ask("Do you want to install "+txt+" ?") )
 				error("Installation Aborted");
 		}
@@ -400,7 +400,7 @@ class Main {
 		if( !i.checkRights() )
 			return;
 		#if xcross
-		wnd = new xcross.Winlog("haXe Installer");
+		wnd = new xcross.Winlog("Haxe Installer");
 		wnd.button = "Exit";
 		wnd.enabled = false;
 		wnd.onClick = function() {

+ 1 - 0
std/tools/hxinst/hxinst-dmg.sh

@@ -0,0 +1 @@
+hdiutil create -srcfolder "Haxe Installer.app" -volname "Haxe Installer" -fs HFS+ -fsargs "-c c=64,a=16,e=16" -format UDZ0 -imagekey zlib-level=9 hxinst.dmg

+ 1 - 1
std/tools/hxinst/hxinst.hxml

@@ -2,4 +2,4 @@
 -neko hxinst.n
 -main tools.hxinst.Main
 -lib xcross
--cmd haxelib run xcross -bundle "haXe Installer" hxinst.n
+-cmd haxelib run xcross -bundle "Haxe Installer" hxinst.n