From 4796df4b4fbc687ff7ebcb8bfda8ef81ca681cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Sun, 25 Aug 2024 19:28:14 +0200 Subject: [PATCH] changes build --- .github/workflows/release.yml | 2 +- README.md | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26c364f..e7fc968 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -135,4 +135,4 @@ jobs: with: name: GoFileCLI_osx-arm64 path: | - build/* \ No newline at end of file + dist/* \ No newline at end of file diff --git a/README.md b/README.md index 9e9e3f4..ee262fb 100644 --- a/README.md +++ b/README.md @@ -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