Skip to content

Commit b1d88c3

Browse files
Update version [release]
1 parent ecfe4fd commit b1d88c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "Sploder",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"author": "Saptarshi <saptarshi12345yt@gmail.com>",
55
"main": "dist/main/main.js",
66
"description": "Sploder Launcher",
7-
"license": "MIT",
7+
"license": "GPL-2.0-only",
88
"scripts": {
99
"dev": "electron-webpack dev",
1010
"compile": "electron-webpack",

src/main/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ app.on("window-all-closed", function () {
311311
});
312312

313313

314-
//if (process.platform == "win32") {
314+
if (process.platform == "win32") {
315315
const clientId = '915116210570539058';
316316
const rpc = new DiscordRPC.Client({ transport: 'ipc' });
317317
const startTimestamp = new Date();
@@ -336,7 +336,7 @@ app.on("window-all-closed", function () {
336336
});
337337

338338
rpc.login({ clientId }).catch();
339-
//}
339+
}
340340

341341
// Set up IPC handlers for window control
342342
ipcMain.handle('window-minimize', (event) => {

0 commit comments

Comments
 (0)