Skip to content

Commit

Permalink
Merge pull request #3 from thedevanand/main
Browse files Browse the repository at this point in the history
Linux support with Electron builder
  • Loading branch information
SilentJungle399 authored Aug 2, 2023
2 parents 37b0918 + d967399 commit 54f021d
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 71 deletions.
Binary file added build/icon.icns
Binary file not shown.
Binary file modified build/icon.ico
Binary file not shown.
Binary file added build/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions electron.builder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"productName": "Stopify Desktop Client",
"linux": {
"target": "deb",
"icon": "icon.icns"
}
}
57 changes: 0 additions & 57 deletions forge.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ipcMain.on("playerState", (event, data) => {
details: data.song.title + " - " + data.song.artist,
largeImageKey: data.song.thumbnail,
largeImageText: data.song.title,
smallImageKey: "https://i.imgur.com/l1Y1XHM_d.webp?maxwidth=760&fidelity=grand",
smallImageKey: "https://i.imgur.com/YFoY7BO.png",
smallImageText: "Playing on stopify",
startTimestamp: Date.now() - data.currentTime * 1000,
buttons: [
Expand Down
22 changes: 9 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,25 @@
"name": "stopify-desktop",
"version": "1.0.0",
"main": "index.js",
"author": "SilentJungle399",
"author": "SilentJungle399 <[email protected]> (https://silentjungle.me/)",
"description": "Desktop client for Stopify",
"scripts": {
"start": "electron .",
"dist": "electron-builder"
"build": "electron-builder --config ./electron.builder.json"
},
"keywords": [],
"license": "ISC",
"devDependencies": {
"@electron-forge/cli": "^6.2.1",
"@electron-forge/maker-deb": "^6.2.1",
"@electron-forge/maker-rpm": "^6.2.1",
"@electron-forge/maker-squirrel": "^6.2.1",
"@electron-forge/maker-zip": "^6.2.1",
"@electron-forge/plugin-auto-unpack-natives": "^6.2.1",
"@electron-forge/publisher-github": "^6.2.1",
"electron": "^25.3.1",
"electron-builder": "^24.6.3"
},
"dependencies": {
"@electron-forge/maker-wix": "^6.2.1",
"discord-rpc": "^4.0.1",
"electron-squirrel-startup": "^1.0.0",
"optionalDependencies": {
"node-gyp": "^9.4.0"
},
"repository": {
"url": "https://github.com/SilentJungle399/stopify-desktop-app"
},
"dependencies": {
"discord-rpc": "^4.0.1"
}
}

0 comments on commit 54f021d

Please sign in to comment.