mirror of
https://git.fuwafuwa.moe/SMLoadrDev/SMLoadr
synced 2024-09-30 02:38:44 +02:00
Fix Android instructions
This commit is contained in:
parent
7f094b3b47
commit
f55b204ba8
31
README.md
31
README.md
@ -90,33 +90,50 @@ Run `Termux` and enter these lines in the given order (If it asks you if you wan
|
||||
```
|
||||
pkg update
|
||||
pkg upgrade
|
||||
pkg install git
|
||||
pkg install nodejs
|
||||
pkg install git nodejs
|
||||
|
||||
```
|
||||
|
||||
### 3. Download
|
||||
First download the latest version from the repo:
|
||||
```
|
||||
git clone https://git.teknik.io/SMLoadrDev/SMLoadr.git
|
||||
git clone --depth 1 https://git.teknik.io/SMLoadrDev/SMLoadr.git
|
||||
```
|
||||
|
||||
### 4. Install
|
||||
Now lets install what we've downloaded:
|
||||
|
||||
|
||||
|
||||
mv SMLoadr/{package.json,SMLoadr.js} ./
|
||||
rm -r SMLoadr
|
||||
```
|
||||
|
||||
Now we install what we've downloaded:
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
In order to make SMLoadr work we need to setup storage for `Termux`:
|
||||
|
||||
|
||||
In order to let SMLoadr download to the right folder, we need to setup storage for `Termux`:
|
||||
```
|
||||
termux-setup-storage
|
||||
```
|
||||
|
||||
### 5. Run
|
||||
Last but not least run the app:
|
||||
Now we trick SMLoadr into downloading to the public storage:
|
||||
```
|
||||
mkdir ~/storage/shared/SMLoadr
|
||||
ln -s ~/storage/shared/SMLoadr DOWNLOADS
|
||||
```
|
||||
|
||||
### 6. Run
|
||||
Last but not least run the app (downloaded files will be in a folder named SMLoadr in public storage):
|
||||
```
|
||||
node SMLoadr.js
|
||||
```
|
||||
|
||||
### 7. Updating
|
||||
To update it, run step 3 and step 4
|
||||
|
||||
|
||||
## How to use (from source)
|
||||
|
Loading…
Reference in New Issue
Block a user