mirror of
https://github.com/NohamR/GoFileCLI.git
synced 2025-07-08 12:47:01 +00:00
changes build
This commit is contained in:
parent
6eef053fe6
commit
4796df4b4f
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -135,4 +135,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: GoFileCLI_osx-arm64
|
name: GoFileCLI_osx-arm64
|
||||||
path: |
|
path: |
|
||||||
build/*
|
dist/*
|
14
README.md
14
README.md
@ -12,6 +12,7 @@ Windows :
|
|||||||
```bash
|
```bash
|
||||||
setx GOPLOAD_TOKEN "XXXXXXX"
|
setx GOPLOAD_TOKEN "XXXXXXX"
|
||||||
setx GOPLOAD_PRIVATE_PARENT_ID "UUID"
|
setx GOPLOAD_PRIVATE_PARENT_ID "UUID"
|
||||||
|
setx GOPLOAD_ACCOUNT_ID "UUID"
|
||||||
```
|
```
|
||||||
|
|
||||||
(Reluch Command Prompt to take effect)
|
(Reluch Command Prompt to take effect)
|
||||||
@ -20,13 +21,24 @@ Linux/MacOS :
|
|||||||
```bash
|
```bash
|
||||||
export GOPLOAD_TOKEN="XXXXXXX"
|
export GOPLOAD_TOKEN="XXXXXXX"
|
||||||
export GOPLOAD_PRIVATE_PARENT_ID="UUID"
|
export GOPLOAD_PRIVATE_PARENT_ID="UUID"
|
||||||
|
export GOPLOAD_ACCOUNT_ID="UUID"
|
||||||
```
|
```
|
||||||
|
|
||||||
# Usage :
|
# Usage :
|
||||||
Upload a file :
|
Upload a file :
|
||||||
```bash
|
```bash
|
||||||
gofilecli -i 'file.txt'
|
gofilecli -i 'file.txt'
|
||||||
````
|
```
|
||||||
|
|
||||||
|
# Compile on your own system :
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/NohamR/GoFileCLI.git
|
||||||
|
apt install ccache patchelf
|
||||||
|
pip install nuitka
|
||||||
|
pip install -r requirements.txt
|
||||||
|
python -m nuitka --standalone --assume-yes-for-downloads --output-dir=dist --static-libpython=no gofilecli.py
|
||||||
|
# dist/gofilecli.dist/gofilecli.bin
|
||||||
|
```
|
||||||
|
|
||||||
# To do :
|
# To do :
|
||||||
- acc stats
|
- acc stats
|
||||||
|
Loading…
x
Reference in New Issue
Block a user