Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 3930db0

Browse files
committed
Release 1.1.6
* Proper dev env check * Remove development lines
1 parent 1bad2ca commit 3930db0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ function createWindow() {
5151
}
5252

5353
function createTray() {
54-
const iconPath = process.env.WEBPACK_DEV_SERVER_URL
54+
const iconPath = app.isPackaged
5555
? path.join(__dirname, '../app.asar/percy.png')
5656
: path.join(__dirname, 'percy.png');
57-
console.log(iconPath);
5857
const appIcon = new Tray(iconPath);
5958
const contextMenu = Menu.buildFromTemplate([
6059
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "perseverancerpc",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"description": "A quick discord RPC application for tracking perseverance landing.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)