You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are happy to answer your questions about the code or discuss technical ideas.
The following commit introduces the DEFAULT_FORWARDED_PORT_FILEPATH global variable that has side effects (generates directories due to VPNExecutionEnvironment()). As a result, every time you import the core python module, the directories will be generated: https://github.com/ProtonVPN/python-proton-vpn-api-core/commit/2bed80d42ef199ea1d8d90e13be843cae3e3850c#diff-a477ea526f47d9a15ba19e31f1e9a374bdf99f676be865d5b99563a665709cd3R26
Please complete the following checklist (by adding [x]):
I have searched open and closed issues for duplicates
This isn't a feature request
This is not a report about my app not working as expected
The text was updated successfully, but these errors were encountered:
But it does (I've added the snippet below that creates the directories). Also, you can try to run the build using Nix in a sterile environment and you will see that the directories will be generated on just importing the module.
Calling path_runtime will generate those directories: https://github.com/ProtonVPN/python-proton-core/blob/stable/proton/utils/environment.py#L55C1-L58C34
The following commit introduces the
DEFAULT_FORWARDED_PORT_FILEPATH
global variable that has side effects (generates directories due toVPNExecutionEnvironment()
). As a result, every time you import the core python module, the directories will be generated:https://github.com/ProtonVPN/python-proton-vpn-api-core/commit/2bed80d42ef199ea1d8d90e13be843cae3e3850c#diff-a477ea526f47d9a15ba19e31f1e9a374bdf99f676be865d5b99563a665709cd3R26
Please complete the following checklist (by adding [x]):
The text was updated successfully, but these errors were encountered: