Commit 1f606f5e authored by bokobza's avatar bokobza

fixed path for mac resources

parent cb900a20
...@@ -35,8 +35,9 @@ cache: ...@@ -35,8 +35,9 @@ cache:
directories: directories:
- ${TRAVIS_BUILD_DIR}/Breeze.UI/node_modules - ${TRAVIS_BUILD_DIR}/Breeze.UI/node_modules
- $HOME/.electron - $HOME/.electron
- $HOME/.nuget/packages - $HOME/.nuget/packages
- /usr/share/dotnet/sdk/2.0.0/ - /usr/share/dotnet/sdk/ # dotnet path for linux
- /Users/travis/.dotnet/sdk/ # dotnet path for mac
# Work around NuGet issue #2163 # Work around NuGet issue #2163
# https://github.com/NuGet/Home/issues/2163 # https://github.com/NuGet/Home/issues/2163
......
const electron = require('electron'); const electron = require('electron');
// Module to control application life. // Module to control application life.
const app = electron.app; const app = electron.app;
...@@ -161,7 +161,7 @@ function startBitcoinApi() { ...@@ -161,7 +161,7 @@ function startBitcoinApi() {
} else if(os.platform() === 'linux') { } else if(os.platform() === 'linux') {
apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD'); apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
} else { } else {
apiPath = path.resolve(__dirname, '..//..//Content//resources//daemon//Stratis.BreezeD'); apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
} }
...@@ -192,7 +192,7 @@ function startStratisApi() { ...@@ -192,7 +192,7 @@ function startStratisApi() {
} else if(os.platform() === 'linux') { } else if(os.platform() === 'linux') {
apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD'); apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
} else { } else {
apiPath = path.resolve(__dirname, '..//..//Content//resources//daemon//Stratis.BreezeD'); apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
} }
if (!testnet) { if (!testnet) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment