Helpers + Clean Download et Info

This commit is contained in:
MasterAcnolo
2025-11-09 10:35:19 +01:00
parent 4954de5f1a
commit 599e09fa9f
12 changed files with 178 additions and 326 deletions

View File

@@ -1,23 +1,8 @@
/*
This file is part of Freedom Loader.
Copyright (C) 2025 MasterAcnolo
Freedom Loader is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License.
Freedom Loader is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
const config = require('../config');
const RPC = require("discord-rpc");
const clientId = "1410934537051181146";
const clientId = `${config.DiscordRPCID}`;
const rpc = new RPC.Client({ transport: "ipc" });
let intervalId;
@@ -64,4 +49,4 @@ function startRPC() {
});
}
module.exports = { startRPC };
module.exports = { startRPC };