dmtzs / SmartTerrariumR

A project that is used for creating a smart terrarium for your reptile pets. This project is for managing all parameters that the reptile needs in order to have a great life. This is the raspberry version.
https://dmtzs.github.io/SmartTerrariumR/
Other
2 stars 0 forks source link

Electron app unable to locate the path in which is stored the flask server #9

Closed dmtzs closed 2 years ago

dmtzs commented 2 years ago

The electron app after clicking the installation option changes the location of the electron file and also the rest of the files that contains configuration of the electron app. Making it unable to locate the flask server file in order to execute in a correct way the server file.

dmtzs commented 2 years ago

This could be solve by creating an environment variable but it should be created like a linux command because os.environ doesnt work after the program finishes it execution.

dmtzs commented 2 years ago

The environment variable is not the solution

dmtzs commented 2 years ago

This issue is already fixed but now we need to solve the problem of the access without administrator mode