Skip to content

Commit

Permalink
Released version 2.1 and updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdulcet committed Jul 12, 2024
1 parent 0764c17 commit 2842b22
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,20 @@ More information on the encryption used can be found in the official Send servic

❤️ Please visit [tealdulcet.com](https://www.tealdulcet.com/) to support this extension and my other software development.

⬇️ Download from [Addons.thunderbird.net](https://addons.thunderbird.net/thunderbird/addon/filelink-provider-for-send/) (ATN).

This add-on is not affiliated with Mozilla, Firefox or any Send service instance.

## Download

* [Addons.thunderbird.net](https://addons.thunderbird.net/thunderbird/addon/filelink-provider-for-send/) (ATN)

## Install from source

1. Clone the repository:
```bash
git clone --recurse-submodules https://github.com/tdulcet/Thunderbird-Send.git
```
2. Follow [these instructions](https://developer.thunderbird.net/add-ons/hello-world-add-on#installing) to install it in Thunderbird

## Contributing

### Translations
Expand Down
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ async function uploaded(account, fileInfo, tab, relatedFileInfo) {
const awindow = await browser.windows.create({
url: browser.runtime.getURL("popup/popup.html"),
type: "popup",
// Should not be needed: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/windows/create#parameters
// Should not be needed: https://bugzilla.mozilla.org/show_bug.cgi?id=1902844
allowScriptsToClose: true
});
console.log(awindow);
Expand Down
2 changes: 1 addition & 1 deletion management/modules/CustomOptionTriggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function set(param) {
// Get the existing + default options
let account = await AddonSettings.get(param.option);
// Remove the default options
account = Object.entries(account).reduce((a, [k, v]) => v === Object(v) ? (a[k] = v, a) : a, {});
account = Object.entries(account).reduce((a, [k, v]) => v === new Object(v) ? (a[k] = v, a) : a, {});

Check warning on line 55 in management/modules/CustomOptionTriggers.js

View workflow job for this annotation

GitHub Actions / ESLint

Arrow function should not return assignment

Check failure on line 55 in management/modules/CustomOptionTriggers.js

View workflow job for this annotation

GitHub Actions / ESLint

Unexpected comparison to newly constructed object. These two values can never be equal
// Set the new options
account[accountId] = param.optionValue;

Expand Down
7 changes: 4 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"default_locale": "en",
"name": "__MSG_extensionName__",
"version": "2.0",
"version": "2.1",
"author": "Teal Dulcet",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://github.com/tdulcet/Thunderbird-Send",
Expand Down Expand Up @@ -31,7 +31,8 @@
},

"background": {
"page": "background.html"
"scripts": ["background.js"],
"type": "module"
},

"cloud_file": {
Expand All @@ -44,7 +45,7 @@
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "102.0"
"strict_min_version": "115.0"
}
}
}

0 comments on commit 2842b22

Please sign in to comment.