From 71815f234480beedd274a61121b6ee5048607a1d Mon Sep 17 00:00:00 2001 From: ChristophLHR <11349102+ChristophLHR@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:52:46 +0200 Subject: [PATCH] Updated ReadMe for Pastbin --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 16eaf02..399abea 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,16 @@ If the Library is already called by a Programm using this SCM loader, SCM will c ```lua --@requires subLibrary -require("subLibrary") -``` +require("./libs/subLibrary") +``` The comment tells SCM to look for the sub-library and, if it's not already installed, it will try to download it. This prevent the programm from Crashing, should SCM not be installed. + +### Pastebin + +If there is a "@" after the library name, it will look for the library and install it from the Pastebin-Code instead of GitHub +```lua +--@requires subLibrary@z4VRj21Y +``` +