Skip to content

Allow custom download directory - #2

Open
arvitus wants to merge 4 commits into
PondWader:mainfrom
arvitus:feat/custom_binaries_directory
Open

Allow custom download directory#2
arvitus wants to merge 4 commits into
PondWader:mainfrom
arvitus:feat/custom_binaries_directory

Conversation

@arvitus

@arvitus arvitus commented Jul 15, 2026

Copy link
Copy Markdown

For a project I am using js-frp and electron with electron-forge to package my app. Since js-frp downloads to a fixed directory, when the app is packaged, there will be an error because the path would be inside the read-only asar file of the electron package. So js-frp could neither download the binaries, nor create the config file. That's why I added this change to be able to set the directory outside of that read-only file.

The changes are fully backwards compatible.

I also added a simple test for this as well, if you want that, otherwise I will remove it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant