kudapara / assignme

Are you also tired of missing assignment deadlines, assignme could be the tool for you
29 stars 14 forks source link

move api logic to run in the main process and communicate with renderer process using ipc #2

Closed kudapara closed 7 years ago

kudapara commented 7 years ago

What This pull request does not add new functionality to the app. It simply moves the logic of the api that was previously running in the renderer process to run in the main process.

Why This is because in the renderer process I couldn't get to access the database from custom locations (e.g documents) other than the location from where the app was running.

How By making use of inter-process-communication protocol for the renderer process to communicate with the main process