show how to persist data between restarts (#209)

This commit is contained in:
Andy McKay
2017-04-27 09:19:49 -07:00
committed by wbamberg
parent 48d7eb4479
commit f7c8862703
2 changed files with 18 additions and 4 deletions

View File

@@ -1,7 +1,14 @@
# Quicknote
A persistent note/to-do list application — click a button in your browser and record notes, which will persist even after browser restarts.
Works in Firefox 47+, and will also work as a Chrome extension, out of the box.
Works in Firefox 47+.
## Running with web-ext
[web-ext](https://developer.mozilla.org/en-US/Add-ons/WebExtensions) generates a new profile on each run, meaning your data is not persisted between Firefox runs. To use web-ext and preserve this information, you will need an existing or new Firefox profile. Then run:
web-ext run --firefox-profile [A PATH TO A FIREFOX PROFILE] --keep-profile-changes
## What it does

View File

@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Quicknote",
"version": "1.0",
"version": "1.1",
"description": "Allows the user to make quick notes by clicking a button and entering text into the resulting popup. The notes are saved in storage. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#quicknote",
"icons": {
@@ -19,5 +19,12 @@
},
"default_title": "Quicknote",
"default_popup": "popup/quicknote.html"
},
"applications": {
"gecko": {
"id": "quicknote-example@mozilla.org"
}
}
}