Skip to content

Commit

Permalink
add sthp
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafaasadi authored Apr 3, 2024
1 parent 5318cc7 commit 9a1543e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ Download latest [python3](https://www.python.org/downloads/windows/) and install

- Persepolis is gui for [**Aria2**](https://aria2.github.io) so we need it, you can download latest or specific version according to your system from [Aria2 release page](https://github.com/aria2/aria2/releases/)
- Persepolis uses [**ffmpeg**](https://www.ffmpeg.org/) for mixing videos ([more info.](https://github.com/persepolisdm/persepolis/wiki/How-can-I-download-videos-from-youtube)). Download [ffmpeg](https://ffmpeg.zeranoe.com/builds](https://github.com/BtbN/FFmpeg-Builds/releases)/) (we use latest gpl version).
- Persepolis uses [**sthp**](https://github.com/KaranGauswami/socks-to-http-proxy/) to enable socks proxy option, so download the binary from [releases page](https://github.com/KaranGauswami/socks-to-http-proxy/releases)

# step 2: test and run
Move **aria2c.exe** and **ffmpeg.exe** to the test folder next to the test.py according to your system architecture
Move **aria2c.exe**, **sthp.exe** and **ffmpeg.exe** to the test folder next to the test.py according to your system architecture

Open Windows terminal and Enter cloned persepolis directory with `cd` command. run persepolis as test with this command.

Expand Down Expand Up @@ -84,10 +85,10 @@ If everything goes well, you have some output like this

If you get error messages, you made mistake. Open an issue [here](https://github.com/persepolisdm/persepolis-windows-package-build/issues), We will help you :)

- After this, you have bundled executable file in dist folder, Move `ffmpeg.exe` and `aria2c.exe` next to the `Persepolis Download Manager.exe`. you can run it and test it, it works perfectly
- After this, you have bundled executable file in dist folder, Move `ffmpeg.exe`, `sthp.exe` and `aria2c.exe` next to the `Persepolis Download Manager.exe`. you can run it and test it, it works perfectly

# step 4 (Optional): create package installer
You have executable perseplois and you can put it everywhere (next to the and `ffmpeg.exe` and `aria2c.exe`) but we going to create a installer for windows.
You have executable perseplois and you can put it everywhere (next to the and `ffmpeg.exe`, `sthp.exe` and `aria2c.exe`) but we going to create a installer for windows.

- Download and install [Inno Setup](http://www.jrsoftware.org/isdl.php)
- you can create your installation or use our standard one, I put theme in this repository for both 32 and 64 architecture (`.iss files`). you should edit *`[Files]`* section and *LicenseFile, InfoAfterFile, OutputBaseFilename, SetupIconFile, UninstallDisplayIcon* according to your directory name, also I put license, persepolis readme, after installation text and icon in this repository.
Expand Down

0 comments on commit 9a1543e

Please sign in to comment.