Skip to content

Commit 756d6cc

Browse files
authored
Merge pull request #7 from mc-cc-scripts/ChristophLHR-script-manager-Readme-Changes
Updated ReadMe for Pastbin
2 parents 671f006 + 4b28b32 commit 756d6cc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,16 @@ If the library is already called by a program using this SCM loader, SCM will ch
5555

5656
```lua
5757
--@requires subLibrary
58-
require("subLibrary")
59-
```
58+
require("./libs/subLibrary")
6059

60+
```
6161
The comment tells SCM to look for the sub-library and, if it's not already installed, it will try to download it.
6262
This prevents the program from crashing, should SCM not be installed.
63+
64+
### Pastebin
65+
66+
If there is a "@" after the library name, it will look for the library and install it from the Pastebin-Code instead of GitHub
67+
```lua
68+
--@requires subLibrary@z4VRj21Y
69+
```
70+

0 commit comments

Comments
 (0)