File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ const config = require('./config.js');
11
11
const util = require ( './util.js' ) ;
12
12
const API = require ( './api.js' ) ;
13
13
14
+ const package_json = require ( './package.json' ) ;
15
+ const VERSION = package_json . version ;
16
+
14
17
let tray ;
15
18
16
19
@@ -100,6 +103,10 @@ app.on('activate', async () => {
100
103
tray = new Tray ( icon . resize ( { width : 24 , height : 24 } ) ) ;
101
104
102
105
const contextMenu = Menu . buildFromTemplate ( [
106
+ {
107
+ label : 'Version: ' + VERSION ,
108
+ enabled : false
109
+ } ,
103
110
{
104
111
label : 'API running on port: ' + config . get ( 'apiPort' ) ,
105
112
enabled : false
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " spotify-controller" ,
3
3
"productName" : " Spotify Controller" ,
4
- "version" : " 0.1.3 " ,
4
+ "version" : " 0.1.4 " ,
5
5
"description" : " Control Spotify on MacOS over the network" ,
6
6
"license" : " MIT" ,
7
7
"repository" : " josephdadams/spotify-controller" ,
You can’t perform that action at this time.
0 commit comments