Commit a286ed22 authored by Pouya Kary's avatar Pouya Kary

made the app single instance... "much better"

parent b1daf74c
......@@ -149,6 +149,17 @@
})
}
//
// ─── SINGE INSTANCE APP ─────────────────────────────────────────────────────────
//
const mustQuit = app.makeSingleInstance(( argv, workingDir ) => {
createWindow( );
})
if ( mustQuit )
app.quit( );
//
// ─── ON READY ───────────────────────────────────────────────────────────────────
//
......
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