Skip to content

Commit

Permalink
5.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRaven2000 committed Jul 4, 2021
1 parent 95186d6 commit 5ae2c3a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"parent": {
"scopes": ["addon_parent"],
"paths": [["NotifyTools"]],
"script": "chrome/content/api/NotifyTools/implementation.js"

"script": "chrome/content/api/NotifyTools/implementation.js",
"events": ["startup"]
}
},
"Utilities": {
Expand Down
2 changes: 1 addition & 1 deletion revision.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
355
358
17 changes: 11 additions & 6 deletions scripts/Licenser.mjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ export class Licenser {
}
}
if (isResetDate) {
Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch)
.setStringPref("extensions.quickfolders.license.gracePeriodDate", graceDate);
/* TO DO!! */
// await messenger.LegacyPrefs.setPref("extensions.quickfolders.license.gracePeriodDate", graceDate);
// Components.classes["@mozilla.org/preferences-service;1"]
// .getService(Components.interfaces.nsIPrefBranch)
// .setStringPref("extensions.quickfolders.license.gracePeriodDate", graceDate);
}
// log("Returning Grace Period Date: " + graceDate);
return graceDate;
Expand All @@ -188,9 +190,12 @@ export class Licenser {
else {
try {
graceDate =
Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefBranch)
.getStringPref("extensions.quickfolders.license.gracePeriodDate");
""; // dummy
/* TO DO!! */
// await messenger.LegacyPrefs.getPref("extensions.quickfolders.license.gracePeriodDate");
// Components.classes["@mozilla.org/preferences-service;1"]
// .getService(Components.interfaces.nsIPrefBranch)
// .getStringPref("extensions.quickfolders.license.gracePeriodDate");
}
catch (e) {graceDate = ""}
}
Expand Down

0 comments on commit 5ae2c3a

Please sign in to comment.