From f6582b73c3c812f6b679a18d6fc0b197f1449fee Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sat, 7 Jan 2023 00:33:04 +0100 Subject: [PATCH] update readme --- README.md | 6 ++++-- buildnumber.txt | 2 +- update/Update.hx | 10 ++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d28e38a0..90767c1e 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ Also, `lime test windows` uses the source assets folder instead of the export on - Credits to Smokey555 for the fancy Animate Atlas code (might be replaced soon) ## HOW TO BUILD -- Install the required libraries as told in the original Funkin' repo (with latest Haxe!) -- Run `update.bat` to install all required additional libraries (flixel fork, hscript fork...) +- Install the [latest version of Haxe](https://haxe.org/download/) +- Install everything mentioned here for your platform: [`Windows`](https://lime.openfl.org/docs/advanced-setup/windows/), [`Linux`](https://lime.openfl.org/docs/advanced-setup/linux/), [`MacOS`](https://lime.openfl.org/docs/advanced-setup/macos/) +- Run `update.bat` to install/update all libraries needed for the engine. + - If you're using another operating system, execute `haxe -cp update -D analyzer-optimize -main Update --interp` in a terminal. - Run `lime test windows` to compile the game (may take a long time) diff --git a/buildnumber.txt b/buildnumber.txt index fafddf0f..373dadda 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1917 \ No newline at end of file +1918 \ No newline at end of file diff --git a/update/Update.hx b/update/Update.hx index f0c748fb..98b502c9 100644 --- a/update/Update.hx +++ b/update/Update.hx @@ -9,16 +9,18 @@ class Update { FileSystem.createDirectory('.haxelib'); var json:Array = Json.parse(File.getContent('./hmm.json')).dependencies; - prettyPrint("Installing libraries..."); + prettyPrint("Preparing installation..."); for(lib in json) { - // install lib. + // install libs switch(lib.type) { case "haxelib": - prettyPrint('Installing haxelib ${lib.name}...'); + prettyPrint('Installing "${lib.name}"...'); Sys.command('haxelib install ${lib.name}'); case "git": - prettyPrint('Installing ${lib.name} from git url ${lib.url}'); + prettyPrint('Installing "${lib.name}" from git url "${lib.url}"'); Sys.command('haxelib git ${lib.name} ${lib.url}'); + default: + prettyPrint('Cannot resolve library of type "${lib.type}"'); } } }