mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
main fix
This commit is contained in:
2
main.js
2
main.js
@@ -16,7 +16,7 @@ app.disableHardwareAcceleration();
|
|||||||
const gotLock = app.requestSingleInstanceLock();
|
const gotLock = app.requestSingleInstanceLock();
|
||||||
|
|
||||||
if (!gotLock) {
|
if (!gotLock) {
|
||||||
// Une instance existe déjà → fermer l'ancienne et continuer la nouvelle
|
// Une instance existe déjà -> fermer l'ancienne et continuer la nouvelle
|
||||||
// Ici la nouvelle instance continue normalement
|
// Ici la nouvelle instance continue normalement
|
||||||
} else {
|
} else {
|
||||||
app.on("second-instance", () => {
|
app.on("second-instance", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user