Kaydet (Commit) 5155a070 authored tarafından Eda Altuntaş's avatar Eda Altuntaş

Elektronun Single Instance olması için kod düzeltildi

üst 2188dcd0
......@@ -52,20 +52,19 @@ if (!gotTheLock) {
mainWindow.focus();
}
});
app.on("ready", async () => {
if (isDevelopment && !process.env.IS_TEST) {
try {
await installExtension(VUEJS_DEVTOOLS);
} catch (e) {
console.error("Vue Devtools failed to install:", e.toString());
}
}
createWindow();
});
require("./ipc")();
}
app.on("ready", async () => {
if (isDevelopment && !process.env.IS_TEST) {
try {
await installExtension(VUEJS_DEVTOOLS);
} catch (e) {
console.error("Vue Devtools failed to install:", e.toString());
}
}
createWindow();
});
if (isDevelopment) {
if (process.platform === "win32") {
process.on("message", data => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment