const { ipcEmit } = require("./utils/emitter");
const { launchSession, endSession } = require("./session");
-// store.set("account", "smith12@gmail.com");
-store.set("account", "gundersena@crimata.com");
+store.set("account", "smith12@gmail.com");
+// store.set("account", "adgundersen@gmail.com");
// store.delete("account");
async function login(_e, email, password)
-const { app, protocol, ipcMain } = require("electron");
+const { app, protocol, ipcMain, nativeTheme } = require("electron");
const store = require("./utils/store");
const { initAccount } = require("./account");
const { terminateAudio } = require("./audio");
+// Assert a light theme
+nativeTheme.themeSource = "light";
+
app.on("ready", () =>
{
initTray();
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="13.691" viewBox="0 0 16 13.691">
+ <g id="Group_754" data-name="Group 754" transform="translate(-4671 -921)">
+ <ellipse id="Ellipse_114" data-name="Ellipse 114" cx="8" cy="6" rx="8" ry="6" transform="translate(4671 921)" fill="#58fd84"/>
+ <path id="Path_193" data-name="Path 193" d="M4693.211,699.285v3.906l3.449-2.126Z" transform="translate(-19.217 231)" fill="#58fd84" stroke="#58fd84" stroke-linejoin="round" stroke-width="1"/>
+ </g>
+</svg>
},
template: `
- <div :class="'bubble ' + modifier + '-bubble ' + modifier +'-'+ child">
- {{ text }}
+ <div :class="'bubble ' + modifier + '-bubble ' + modifier +'-'+ child" v-html="text">
</div> `
};
export default Bubble;
-
-
-// <div v-show="!seen" class="bubble-notify"></div>
-
-
}
export default Messenger;
+
+// {
+// modifier: "ai",
+// content: [
+// "This is test 2\r\n"
+// ],
+// context: "Email from adgundersen@gmail.com",
+// avatar: "./assets/mailAvatar.svg",
+// audio: null,
+// id: 0
+// }
\ No newline at end of file
x: pos.x,
y: pos.y,
resizable: true,
- backgroundColor: '#EBEBEB',
+ backgroundColor: "#EBEBEB",
frame: false,
minWidth: 350,
minHeight: 500,
}
ipcMain.on("nav-bar", onNavBar);
+ipcMain.on("create-win", createWin);
exports.createWin = createWin;