From 9796db70655effa01da9434bbc1755e6a239f2b3 Mon Sep 17 00:00:00 2001 From: Rabia Alhaffar Date: Sun, 14 Jun 2020 13:39:25 +0300 Subject: [PATCH] Updated fork info --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0b3cd8096..0e27f30b3 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,7 @@ Functions added in this fork to raylib API - `DragonFlyBSD` - `Solaris` - `RLAPI void Execute(const char *command);` To execute shell/batch command +- `RLAPI void DownloadFile(const char *src,const char *dir);` To download files from internet and store it in directory Functions added usage ------ @@ -158,3 +159,10 @@ if (GetOS() == "Windows") { // NOTES: This function does not work on Android and iOS,So it returns nothing on Android and iOS Execute("mkdir new_folder"); ``` + +- `RLAPI void DownloadFile(const char *src,const char *src);` +```c +// NOTES: This function does not work on Android and iOS,So it returns nothing on Android and iOS +// This downloads file core_basic_window.c and store it in folder named "downloaded",If not found it will be created +DownloadFile("https://github.com/Rabios/raylib/raw/master/examples/core/core_basic_window.c","downloaded"); +```