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

Bugfixes #9

Merged
merged 5 commits into from
Apr 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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