Skip to content

Commit

Permalink
Add create haxelib script for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
as3boyan committed Jun 21, 2014
1 parent 619f181 commit 0d8610a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
4 changes: 4 additions & 0 deletions create_haxelib.sh
@@ -0,0 +1,4 @@
rm node-webkit.zip
zip -r -q node-webkit.zip . -x *.png bin\* autoupdate .git\* .* libudev.so.0
haxelib submit node-webkit.zip
rm node-webkit.zip
2 changes: 1 addition & 1 deletion haxelib.json
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"tags": ["html5", "node-webkit", "chrome", "node.js"],
"description": "Haxelib which downloads node-webkit binary for your platform and keeps it updated",
"version": "1.0.7",
"version": "1.0.8",
"releasenote": "Use downloaded page instead of accessing node-webkit github page(to avoid hxssl issues, seems like it need to be rebuild)",
"contributors": ["as3boyan"],
"dependencies": {}
Expand Down
8 changes: 8 additions & 0 deletions project.hide
Expand Up @@ -11,7 +11,15 @@

]
,"files" : [
{
"path" : "src/Main.hx"
,"useTabs" : true
,"indentSize" : 4
,"foldedRegions" : [

]
,"activeLine" : 202
}
]
,"activeFile" : "src/Main.hx"
,"openFLTarget" : null
Expand Down
Binary file modified run.n
Binary file not shown.
10 changes: 9 additions & 1 deletion src/Main.hx
Expand Up @@ -145,7 +145,12 @@ class Main
}
}

private static function checkUpdates():Void
macro function getVersion()
{

}

static function checkUpdates():Void
{
if (FileSystem.exists("autoupdate"))
{
Expand Down Expand Up @@ -192,6 +197,9 @@ class Main
{
Sys.println("Looking for node-webkit url...");

var args = Sys.args();

//PathHelper.combine(args[args.length - 1], "rogerwang_node-webkit.html")
var data = sys.io.File.getContent("rogerwang_node-webkit.html");
//Http.requestUrl("https://github.com/rogerwang/node-webkit");

Expand Down

0 comments on commit 0d8610a

Please sign in to comment.