"use strict"; import { createWindow } from './window'; import { initSession } from './session'; import { initAudioIO } from './audio'; let socket = false; /* * The main function will be run after electron app is ready. */ export async function main() { // create main window. await createWindow({ width: 600, height: 500, resizable: true }); // Instantiate socket session with crimata-platorm. if (!socket) initSession(); socket = true; // Begin audio stream. initAudioIO(); }