A custom browser using electron, vite and vue.
Uses electron-vite by alex8088.
- Install all node dependencies via npm install
- Create a file in the shared-folder: Config-Platform.ts.
- Take a look at the template file.
- The Config-Platform.ts has to default export a PROJECT_PATH
- Good to go
- On the main process (running on node), a winston logger in available. This logger forwards all logs to the renderer process. Logging paths must be done in the following syntax: >"{path}"<. Example:
logger.info(`Path: >${path}<`)
. If this syntax is not followed, the terminal setting to shorten paths won't work. The syntax can be changed in the config.