File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,10 @@ This plugin enables you to run own scripts or external programs from the
66
77## Installation
88
9- ### Default (with ` pkg ` )
10-
11- In LeoConsole, type
12-
13- ```
14- pkg update
15- pkg get external-scripts
16- ```
17-
18- ### Bleeding-edge (from git)
19-
20- In LeoConsole, type
9+ External-scripts is in the main repository. Just type
2110
2211```
23- apkg update
24- apkg get https://github.com/alexcoder04/LeoConsole-external-scripts.git
12+ apkg get external-scripts
2513```
2614
2715## Usage
Original file line number Diff line number Diff line change 11{
22 "manifestVersion" : 2.1 ,
33 "packageName" : " external-scripts" ,
4- "packageVersion" : " 1.0.0 " ,
4+ "packageVersion" : " 1.0.1 " ,
55 "build" : {
66 "command" : " dotnet" ,
77 "args" : [" build" , " --nologo" ],
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ public void RegisterCommands() {
4141 Console . WriteLine ( "error: scripts folder does not exist!" ) ;
4242 return ;
4343 }
44+
4445 foreach ( string s in Directory . GetFiles ( Path . Join ( _data . SavePath , "share" , "scripts" ) ) ) {
4546 _Commands . Add ( new Script ( Path . GetFileName ( s ) ) ) ;
4647 }
You can’t perform that action at this time.
0 commit comments