Temporary folder is created, causing issue with firewall
luxoflux opened this issue · comments
First, I would like to thank you for this invaluable and powerful program that you continue to develop. I use it routinely.
Here's my issue: On Windows, a temporary folder is created (AppData\Local\Temp\onefile_*
) - but because I use a firewall, I have to whitelist main.exe
in this random folder each time I run the program. Previously, I only needed to allow pyTranscriber.exe
, which was easier because its location doesn't change.
Please consider reverting to the previous behavior, or including the necessary files in the same folder for portability.
Thanks.
(This is may be the problem with #26.)
Hi Luxoflux,
Thanks for reporting.
Before this version the app would also extract itself to temp folder before running. It's been like that for many years and this is the first time someone reports this issue.
I suggest you create a whilelist rule that includes all suffixes possible for that folder... something like AppData\Local\Temp\onefile_*
One alternative solution for future versions would be to have the installable version not extracting itself and the portable version extracting itself before running.
What firewall are you using?
Hi @luxoflux
Thanks for providing more details.
1 - Could you please check the full file path for pyTranscriber.exe on previous version.
2 - Which firewall app are you currently using?
1 - On v1.8 the file path is portable, so I can put it anywhere and it works fine.
2 - The firewall is called TinyWall, it's just a frontend for Windows Firewall that operates in whitelist-only mode.
Cheers.
Hi @luxoflux
As a workaround for now you can do the following:
- Run the app
- Copy the entire onefile temp folder to your desired location
- Create a shortcut to the main.exe file there
- Whitelist that fixed path on TinyWall
And please let us know if that works in your case. Thanks
Your solution works well. Thank you!
Glad to hear that @luxoflux