Skip to content

Commit

Permalink
add instruction of release #12
Browse files Browse the repository at this point in the history
  • Loading branch information
buggyj committed Nov 7, 2017
1 parent 9a50892 commit 689f51b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extension/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var minutebacks = false; //set to true to allow backs every minute for testing
var tiddlywikilocations = "tiddlywikilocations";
var $ = {"/":"/"};

var settup = "This is a test file for savetiddlers";
var testfilecontent = "This is a test file for savetiddlers extension";

function datesArray(now,andHours,andMinutes)
{
Expand Down Expand Up @@ -103,7 +103,7 @@ if (msg.type === "start") {
} else{
// first download check our destination is valid by download a dummy file first and then reading back the filepath
chrome.downloads.download({
url: URL.createObjectURL(new Blob(["test for savetiddlers"], {type: 'text/plain'})),
url: URL.createObjectURL(new Blob([testfilecontent], {type: 'text/plain'})),
filename: testpath,
conflictAction: 'overwrite'
},function(id){chrome.downloads.onChanged.addListener(function hearchange(deltas){
Expand Down
16 changes: 14 additions & 2 deletions extension/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,20 @@


<div >
<p>Enable for a once a day backup with date appended to the name.<br>
Optional may be overwritten once an hour.</p></div>

<h2>How to Use</h2>
Your <strong>tiddlywikis must be location in</strong> a directory called <strong>'tiddlywikilocations'</strong> that must be located <br>
In the download directory.

<h2>And</h2>

<p>The browser option "Ask where to save each file" <strong>MUST</strong> be switched off.<br>
In chrome this is in the advanced options in the 'Downloads' section.<br>
In firefox this is in the prefrences, General, Files and Applications </p>

<hr>
<p>Enable for a once a day backup. Date is appended<br>to the name of the Tiddlywiki.</p></div>

<table><tbody>
<tr>
<td align="right"><label for="backup">enable backups:</label></td>
Expand Down

0 comments on commit 689f51b

Please sign in to comment.