Skip to content

Commit

Permalink
Merge pull request #1449 from xodio/fix-unreachable-bundled-ardulibs
Browse files Browse the repository at this point in the history
Make bundled __ardulibs__ reachable again
  • Loading branch information
evgenykochetkov authored Sep 17, 2018
2 parents 9d73359 + f49814d commit 4b7b2d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/xod-client-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
{
"from": "arduino-builders/${os}",
"to": "arduino-builder"
},
{
"from": "src-babel/workspace",
"to": "workspace"
}
],
"linux": {
Expand Down
4 changes: 3 additions & 1 deletion packages/xod-client-electron/src/app/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@ export const getFilePathToOpen = app => {
* Returns Path to the bundled workspace
*/
export const getPathToBundledWorkspace = () =>
path.resolve(__dirname, '../workspace');
IS_DEV
? path.resolve(__dirname, '../workspace')
: path.resolve(process.resourcesPath, './workspace');

0 comments on commit 4b7b2d4

Please sign in to comment.