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

Commit 3c80d92

Browse files
Lowercase iri name.
1 parent 3c03310 commit 3c80d92

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
git clone https://github.com/iotaledger/iri
3838
```
3939

40-
Note: iri project does not exist yet -- make an IRI directory manually and place IRI.jar in it.
40+
Note: make sure compiled iri.jar is in the iri folder.
4141

4242
4. Install components
4343

app/js/main.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)