pieces-app / cli-agent

Pieces CLI for interacting with Pieces OS
https://docs.pieces.app/extensions-plugins/cli
MIT License
50 stars 19 forks source link

Create executable file for each release? #144

Open Bishoy-at-pieces opened 1 month ago

Bishoy-at-pieces commented 1 month ago

Instead of downloading the tool from pypi we can create an executable file to download the cli tool

mdex-geek commented 1 month ago

Hey bishoy I am interested in this issue

Bishoy-at-pieces commented 1 month ago

Great how will you do it? Also we need to add it to the pipeline we can also use pyinstaller

Bishoy-at-pieces commented 1 month ago

You can go and try it

mdex-geek commented 1 month ago

Great how will you do it? Also we need to add it to the pipeline we can also use pyinstaller

After search about this issue I get answer of pyinstaller

Bishoy-at-pieces commented 1 month ago

Pyinstaller won't append the executable to the path You will need to do path/to/executable run It should be pieces run

Also we will need uninstall and updater

mdex-geek commented 1 month ago

hey i create a exe file and it run

https://github.com/user-attachments/assets/8789f5db-6dcc-4782-820a-1e5e2a2529f7

Pyinstaller won't append the executable to the path You will need to do path/to/executable run It should be pieces run

Also we will need uninstall and updater

but i do not understand this

Bishoy-at-pieces commented 1 month ago

So how can we delete/update the cli-tool? Plus we need to append to the path? How can we do this also?

Bishoy-at-pieces commented 1 month ago

Adding it to the path means we will do pieces run instead path/to/executable run

Bishoy-at-pieces commented 1 month ago

https://cx-freeze.readthedocs.io/en/stable/ this is amazing tool worth checking! Let me know how is everything going @mdex-geek no worries no rush take your time!