changes build

This commit is contained in:
√(noham)² 2024-08-25 19:28:14 +02:00
parent 6eef053fe6
commit 4796df4b4f
2 changed files with 14 additions and 2 deletions

View File

@ -135,4 +135,4 @@ jobs:
with:
name: GoFileCLI_osx-arm64
path: |
build/*
dist/*

View File

@ -12,6 +12,7 @@ Windows :
```bash
setx GOPLOAD_TOKEN "XXXXXXX"
setx GOPLOAD_PRIVATE_PARENT_ID "UUID"
setx GOPLOAD_ACCOUNT_ID "UUID"
```
(Reluch Command Prompt to take effect)
@ -20,13 +21,24 @@ Linux/MacOS :
```bash
export GOPLOAD_TOKEN="XXXXXXX"
export GOPLOAD_PRIVATE_PARENT_ID="UUID"
export GOPLOAD_ACCOUNT_ID="UUID"
```
# Usage :
Upload a file :
```bash
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 :
- acc stats