Skip to content

Commit

Permalink
Fix wrong permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
JustOff committed Nov 9, 2017
1 parent a831fb4 commit 05b5885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/ca-archive.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
(function () {
var Cu = Components.utils;

let dbname = "ca-archive-17110901.sqlite"; let ver = "17110901";
let dbname = "ca-archive-17110901.sqlite"; let ver = "17110902";

Cu.import("chrome://ca-archive/content/db.js" + "?" + ver);
if (!DB.openDB(dbname, document)) {
Expand Down
2 changes: 1 addition & 1 deletion content/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ let DB = {
if (dir.exists()) {
dir.remove(true);
}
dir.create(1, FileUtils.PERMS_FILE);
dir.create(Ci.nsIFile.DIRECTORY_TYPE, FileUtils.PERMS_DIRECTORY);
tmpFile.moveTo(dir, dbname);
showMessage(document, "Database has been processed successfully!", "db-warning ok");
showMessage(document, "Please reload the page.", "db-warning ok");
Expand Down

0 comments on commit 05b5885

Please sign in to comment.