mirror of
https://github.com/Neocky/pluGET.git
synced 2024-04-29 16:12:30 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
26d7965422 | ||
![]() |
78f38f36cd |
19
README.md
19
README.md
@@ -92,18 +92,25 @@ If you feel like showing your love and/or appreciation for this project then how
|
|||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
### Python
|
### 1. Python
|
||||||
Python needs to be installed on your machine.
|
Python needs to be installed on your machine.
|
||||||
Get it [here](https://www.python.org/downloads/).
|
Get it [here](https://www.python.org/downloads/).
|
||||||
### Dependencies
|
### 2. Dependencies
|
||||||
Install the needed packages for this project.
|
Install the needed packages for this project.
|
||||||
|
#### Automatically (Windows only)
|
||||||
|
Execute the `installer.bat` file to automaticcally install the needed packages for this project.
|
||||||
|
> Sometimes the security warning `Windows protected your PC` comes when launching the `installer.bat` file.
|
||||||
|
> This is a normal behaviour from the windows defender because this is a unknown `.bat` file.
|
||||||
|
> To run the `installer.bat` anyway, click `More Info` and then `Run anyway` when the message pops up.
|
||||||
|
|
||||||
|
##### Manually
|
||||||
Execute this command in the `\plugGET` folder:
|
Execute this command in the `\plugGET` folder:
|
||||||
```python
|
```python
|
||||||
py -m pip install -r requirements.txt
|
py -m pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Edit the Config
|
### 3. Edit the Config
|
||||||
When run the first time, the `config.ini` file will be created in the `\src` folder and the program will close.
|
When run the first time, the `config.ini` file will be created in the `\src` folder and the program will close.
|
||||||
Edit the config to your needs and relaunch pluGET.
|
Edit the config to your needs and relaunch pluGET.
|
||||||
**Now you are good to go!**
|
**Now you are good to go!**
|
||||||
@@ -112,9 +119,9 @@ Edit the config to your needs and relaunch pluGET.
|
|||||||
### Windows:
|
### Windows:
|
||||||
Execute the `launcher.bat` in the `\pluGET` folder.
|
Execute the `launcher.bat` in the `\pluGET` folder.
|
||||||
This will launch pluGET correctly.
|
This will launch pluGET correctly.
|
||||||
Sometimes the security warning `Windows protected your PC` comes when launching the `launcher.bat` file.
|
> Sometimes the security warning `Windows protected your PC` comes when launching the `launcher.bat` file.
|
||||||
This is a normal behaviour from the windows defender because this is a unknown `.bat` file.
|
> This is a normal behaviour from the windows defender because this is a unknown `.bat` file.
|
||||||
To run the `launcher.bat` anyway, click `More Info` and then `Run anyway` when the message pops up.
|
> To run the `launcher.bat` anyway, click `More Info` and then `Run anyway` when the message pops up.
|
||||||
|
|
||||||
### Linux:
|
### Linux:
|
||||||
Use `cd` to change into the `/pluGET` directory and change the permission of the `launcher.sh` to make it executeable:
|
Use `cd` to change into the `/pluGET` directory and change the permission of the `launcher.sh` to make it executeable:
|
||||||
|
34
installer.bat
Normal file
34
installer.bat
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
|
||||||
|
cd /d %~dp0
|
||||||
|
|
||||||
|
Echo ___ ___ ___ ___ ___ ___
|
||||||
|
Echo /\ \ /\__\ /\__\ /\ \ /\ \ /\ \
|
||||||
|
Echo /::\ \ /:/ / /:/ / /::\ \ /::\ \ \:\ \
|
||||||
|
Echo /:/\:\ \ /:/ / /:/ / /:/\:\ \ /:/\:\ \ \:\ \
|
||||||
|
Echo /::\~\:\ \ /:/ / /:/ / ___ /:/ \:\ \ /::\~\:\ \ /::\ \
|
||||||
|
Echo /:/\:\ \:\__\ /:/__/ /:/__/ /\__\ /:/__/_\:\__\ /:/\:\ \:\__\ /:/\:\__\
|
||||||
|
Echo \/__\:\/:/ / \:\ \ \:\ \ /:/ / \:\ /\ \/__/ \:\~\:\ \/__/ /:/ \/__/
|
||||||
|
Echo \::/ / \:\ \ \:\ /:/ / \:\ \:\__\ \:\ \:\__\ /:/ /
|
||||||
|
Echo \/__/ \:\ \ \:\/:/ / \:\/:/ / \:\ \/__/ \/__/
|
||||||
|
Echo \:\__\ \::/ / \::/ / \:\__\
|
||||||
|
Echo \/__/ \/__/ \/__/ \/__/
|
||||||
|
Echo `
|
||||||
|
Echo `
|
||||||
|
Echo ------------------------------------
|
||||||
|
Echo [By Neocky]
|
||||||
|
Echo https://github.com/Neocky/pluGET
|
||||||
|
Echo pluGET-Installer
|
||||||
|
Echo ------------------------------------
|
||||||
|
Echo `
|
||||||
|
Echo ----------------------------------------------------------------------------------
|
||||||
|
Echo [93mInstalling Python packages and dependencies...[0m
|
||||||
|
|
||||||
|
py -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
Echo `
|
||||||
|
Echo [92mLaunching pluGET...[0m
|
||||||
|
|
||||||
|
launcher.bat
|
||||||
|
|
||||||
|
exit
|
Reference in New Issue
Block a user