ÃFixing some bugs Â+ README

This commit is contained in:
Ad5001 2016-11-19 11:49:11 +01:00
parent 50e722ad61
commit b267f7f59f
4 changed files with 31 additions and 2 deletions

31
README.md Normal file
View File

@ -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.

BIN
git.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -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(

View File

@ -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(