Skip to content

Commit e17ba44

Browse files
committed
update readme and manifest
1 parent 78fb8e2 commit e17ba44

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff 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

manifest.apkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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"],

plugin.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)