diff --git a/README.md b/README.md new file mode 100644 index 0000000..a21c433 --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +![Gitable Logo](http://github.com/Ad5001/Gitable/blob/master/git.png) +# Gitable +The git based pocketmine plugin ! + + +Gitable is a project made to port git into your Minecraft Pocket edition servers by using command /git ! + +***Requirements:** +* A pocketmine server +* A git client installed on your computer. + +### Configuration: +* For windows: + If you did not install git... + Install the git client from https://git-scm.com/download/win. DO NOT MODIFY THE SAVING PATH. + If you did already install it... + Take the path from the git executable (git directory/bin/git.exe), and replace-paste it into the config after the "executable_path: ". + If you did not change the path, the step above is not required. + +* For MacOS: + If you did not install git... + Install the client from https://git-scm.com/download/mac (for mac) ot the the command to use at https://git-scm.com/download/linux (linux). + +### Commands: +To see your current path, use /git pwd. +To see the files on the folder you're currently browsering, use /git ls. +To change directory, use /git cd <directory>. +To use a git command: use /git <command> <parameters> +Learn mire about git at https://git-scm.com/doc. + +*This program isn't afiliated in any way with Git. \ No newline at end of file diff --git a/git.png b/git.png new file mode 100644 index 0000000..3bf7f46 Binary files /dev/null and b/git.png differ diff --git a/src/Ad5001/Gitable/Linux.php b/src/Ad5001/Gitable/Linux.php index 9b73c7a..a5be448 100644 --- a/src/Ad5001/Gitable/Linux.php +++ b/src/Ad5001/Gitable/Linux.php @@ -114,7 +114,6 @@ class Linux extends GitClient { Checks if the executable exists. */ public function initcheck() { - $this->executable = $this->main->getConfig()->get("executable_path"); $process = proc_open( "git --version", array( diff --git a/src/Ad5001/Gitable/Mac.php b/src/Ad5001/Gitable/Mac.php index 2515738..8ad39a3 100644 --- a/src/Ad5001/Gitable/Mac.php +++ b/src/Ad5001/Gitable/Mac.php @@ -114,7 +114,6 @@ class Mac extends GitClient { Checks if the executable exists. */ public function initcheck() { - $this->executable = $this->main->getConfig()->get("executable_path"); $process = proc_open( "git --version", array(