Updated fork info

This commit is contained in:
Rabia Alhaffar 2020-06-14 13:39:25 +03:00 committed by GitHub
parent 327864be53
commit 9796db7065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,6 +141,7 @@ Functions added in this fork to raylib API
- `DragonFlyBSD` - `DragonFlyBSD`
- `Solaris` - `Solaris`
- `RLAPI void Execute(const char *command);` To execute shell/batch command - `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 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 // NOTES: This function does not work on Android and iOS,So it returns nothing on Android and iOS
Execute("mkdir new_folder"); 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");
```