mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 18:26:26 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7faf0efb20 | ||
|
|
ed70cb8e3d |
@@ -56,9 +56,6 @@ class InitModal extends React.Component {
|
|||||||
try {
|
try {
|
||||||
data = CSON.readFileSync(path.join(remote.app.getPath('userData'), 'local.json'))
|
data = CSON.readFileSync(path.join(remote.app.getPath('userData'), 'local.json'))
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err.code === 'ENOENT') {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
console.error(err)
|
console.error(err)
|
||||||
}
|
}
|
||||||
let newState = {
|
let newState = {
|
||||||
@@ -212,9 +209,12 @@ class InitModal extends React.Component {
|
|||||||
...
|
...
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div styleName='body-migration'>
|
|
||||||
<label><input type='checkbox' checked={this.state.migrationRequested} onChange={(e) => this.handleMigrationRequestedChange(e)}/> Migrate old data from the legacy app v0.5</label>
|
{this.state.legacyStorageExists &&
|
||||||
</div>
|
<div styleName='body-migration'>
|
||||||
|
<label><input type='checkbox' checked={this.state.migrationRequested} onChange={(e) => this.handleMigrationRequestedChange(e)}/> Migrate old data from the legacy app v0.5</label>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
<div styleName='body-control'>
|
<div styleName='body-control'>
|
||||||
<button styleName='body-control-createButton'
|
<button styleName='body-control-createButton'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "boost",
|
"name": "boost",
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"description": "Boostnote",
|
"description": "Boostnote",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user