Commit 1f606f5e authored by bokobza's avatar bokobza

fixed path for mac resources

parent cb900a20
......@@ -36,7 +36,8 @@ cache:
- ${TRAVIS_BUILD_DIR}/Breeze.UI/node_modules
- $HOME/.electron
- $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
# https://github.com/NuGet/Home/issues/2163
......
const electron = require('electron');
const electron = require('electron');
// Module to control application life.
const app = electron.app;
......@@ -161,7 +161,7 @@ function startBitcoinApi() {
} else if(os.platform() === 'linux') {
apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
} else {
apiPath = path.resolve(__dirname, '..//..//Content//resources//daemon//Stratis.BreezeD');
apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
}
......@@ -192,7 +192,7 @@ function startStratisApi() {
} else if(os.platform() === 'linux') {
apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
} else {
apiPath = path.resolve(__dirname, '..//..//Content//resources//daemon//Stratis.BreezeD');
apiPath = path.resolve(__dirname, '..//..//resources//daemon//Stratis.BreezeD');
}
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