1
0
mirror of https://github.com/Lightcord/Lightcord.git synced 2025-04-12 00:55:40 +02:00

Fix Lightcord version showing up.

This commit is contained in:
Jean Ouina 2020-07-20 13:09:17 +02:00
parent e0dd7650ed
commit c7f144c172

View File

@ -39,7 +39,8 @@ electron.ipcMain.on(APP_GET_RELEASE_CHANNEL_SYNC, event => {
});
electron.ipcMain.on(APP_GET_HOST_VERSION_SYNC, event => {
event.returnValue = electron.app.getVersion();
// hardcode because Discord could identify Lightcord or could simply bug.
event.returnValue = "0.0.306"//electron.app.getVersion();
});
electron.ipcMain.handle(APP_GET_MODULE_VERSIONS, (() => {