Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #9 from stencila/fixes
Browse files Browse the repository at this point in the history
Bugfixes
  • Loading branch information
Michael Aufreiter authored Apr 7, 2017
2 parents c58a710 + d6d955f commit 5c18c4b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 0.25.1

- Fixed an issue where plots didn't update when using the pipe (`|`) operator
- Open external links in browser
- Improved welcome document

## 0.25.0

Initial release
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "stencila-desktop",
"productName": "Stencila Desktop",
"description": "Stencila for the desktop",
"version": "0.25.0",
"version": "0.25.1",
"author": "Nokome Bentley",
"homepage": "http://stenci.la",
"license": "MIT",
Expand All @@ -26,7 +26,7 @@
"start": "node make && npm-run-all --parallel watch app"
},
"dependencies": {
"stencila": "^0.25.2",
"stencila": "^0.25.7",
"stencila-node": "^0.25.0"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions src/document/documentWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const windowId = currentWindow.id
const documentMenuBuilder = new DocumentMenuBuilder()
const AppState = require('./AppState')
const { dialog } = require('electron').remote
const { shell } = remote

let appState = new AppState()

Expand All @@ -34,6 +35,11 @@ currentWindow.on('focus', () => {
})
})

// HACK: we should find a better solution to intercept window.open calls
// (e.g. as done by LinkComponent)
window.open = function(url /*, frameName, features*/) {
shell.openExternal(url)
}

window.onbeforeunload = function () {

Expand Down
2 changes: 1 addition & 1 deletion src/shared/initBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const fs = require('fs')
const { app } = remote

const DOCUMENTS_DIR = app.getPath('documents')
const STENCILA_LIBRARY_DIR = path.join(DOCUMENTS_DIR, 'Stencila-0.25')
const STENCILA_LIBRARY_DIR = path.join(DOCUMENTS_DIR, 'Stencila-0.25.1')
const STENCILA_LIBRARY_FILE = path.join(STENCILA_LIBRARY_DIR, 'library.json')
const fileSystemBackend = new FileSystemBackend(STENCILA_LIBRARY_DIR)

Expand Down

0 comments on commit 5c18c4b

Please sign in to comment.