@@ -385,7 +385,7 @@ var App = (function(App, undefined) {
385385 win . webContents . once ( "did-finish-load" , function ( ) {
386386 console . log ( "Set Window Title" ) ;
387387
388- win . setTitle ( "IOTA Wallet " + String ( appVersion ) . escapeHTML ( ) + " - IRI " + String ( iriVersion ) . escapeHTML ( ) ) ;
388+ win . setTitle ( "IOTA Wallet " + String ( appVersion ) . escapeHTML ( ) + ( iriVersion ? " - IRI " + String ( iriVersion ) . escapeHTML ( ) : "" ) ) ;
389389
390390 if ( onReady ) {
391391 onReady ( ) ;
@@ -686,8 +686,8 @@ var App = (function(App, undefined) {
686686
687687 App . findServerDirectory = function ( ) {
688688 try {
689- serverDirectory = path . join ( electron . app . getPath ( "appData" ) , "IOTA Wallet" + path . sep + "IRI " ) ;
690- jarDirectory = path . join ( path . dirname ( path . dirname ( path . dirname ( __dirname ) ) ) , "IRI " ) ;
689+ serverDirectory = path . join ( electron . app . getPath ( "appData" ) , "IOTA Wallet" + path . sep + "iri " ) ;
690+ jarDirectory = path . join ( path . dirname ( path . dirname ( path . dirname ( __dirname ) ) ) , "iri " ) ;
691691
692692 console . log ( "Server directory is: " + serverDirectory ) ;
693693 console . log ( "Jar directory is: " + jarDirectory ) ;
@@ -927,7 +927,7 @@ var App = (function(App, undefined) {
927927
928928 params . push ( "-jar" ) ;
929929
930- params . push ( path . join ( jarDirectory , "IRI .jar" ) ) ;
930+ params . push ( path . join ( jarDirectory , "iri .jar" ) ) ;
931931
932932 if ( settings . port ) {
933933 params . push ( settings . port ) ;
@@ -1060,7 +1060,7 @@ var App = (function(App, undefined) {
10601060 try {
10611061 if ( process . platform == "win32" ) {
10621062 //" + String(command).replace(/\\/g, "\\\\") + "
1063- var output = childProcess . execSync ( "wmic process where \"commandline LIKE '%jar %IRI .jar'\" get processid" ) ;
1063+ var output = childProcess . execSync ( "wmic process where \"commandline LIKE '%jar %iri .jar'\" get processid" ) ;
10641064
10651065 process . stdout . write ( output ) ;
10661066
@@ -1801,9 +1801,9 @@ var App = (function(App, undefined) {
18011801 try {
18021802 App . killAlreadyRunningProcess ( true ) ;
18031803
1804- var jarDirectory = path . join ( path . dirname ( path . dirname ( path . dirname ( __dirname ) ) ) , "IRI " ) ;
1804+ var jarDirectory = path . join ( path . dirname ( path . dirname ( path . dirname ( __dirname ) ) ) , "iri " ) ;
18051805
1806- var targetFile = path . join ( jarDirectory , "IRI .jar" ) ;
1806+ var targetFile = path . join ( jarDirectory , "iri .jar" ) ;
18071807
18081808 fs . unlinkSync ( targetFile ) ;
18091809 fs . writeFileSync ( targetFile , fs . readFileSync ( sourceFile ) ) ;
0 commit comments