diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ab1b25..cdcf01f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ QoL improvements for me: * Started using mutation observers to watch for changes in player size as well. Since mutation observers aren't entirely reliable, old way of doing things is still somewhat present as a backup way, but runs less frequently. * Implemented/improved/fixed settings patching * **[4.3.0.1]** Removed some console.logs that I missed the first time around. +* **[4.3.0.2]** Extension would not work for new users. (Special thanks to [ezzak](https://github.com/ezzak) for finding and submitting a patch) ### v4.2.4 / 4.2.4.x diff --git a/README.md b/README.md index f2c8d1e..3c3f825 100644 --- a/README.md +++ b/README.md @@ -245,16 +245,16 @@ However, I do plan on implementing this feature. Hopefully by the end of the yea ### Installing the current, github version -Requirements: npm, yarn. +Requirements: npm, node. 1. Clone this repo -2. run `yarn install` -3. run `npm run watch:dev` +2. run `npm install` +3. If using **Firefox,** run: `npm run watch:dev`. If using **Chrome,** run: `npm run watch-chrome:dev`. If using Edge, run: `npm run watch-edge:dev`. TODO: see if #3 already loads the extension in FF -2. Open up Firefox -3. Go to `about:debugging` +2. Open up Firefox (or Chrome) +3. Go to `about:debugging` (or Chrome equivalent) 4. Add temporary addon 5. Select `${ultrawidify_folder}/dist/manifest.json` diff --git a/src/ext/lib/Settings.js b/src/ext/lib/Settings.js index 34e6f7a..ca68d9e 100644 --- a/src/ext/lib/Settings.js +++ b/src/ext/lib/Settings.js @@ -190,7 +190,14 @@ class Settings { // if there's no settings saved, return default settings. if(! settings || (Object.keys(settings).length === 0 && settings.constructor === Object)) { - this.logger.log('info', 'settings', '[Settings::init] settings don\'t exist. Using defaults.\n#keys:', Object.keys(settings).length, '\nsettings:', settings); + this.logger.log( + 'info', + 'settings', + '[Settings::init] settings don\'t exist. Using defaults.\n#keys:', + settings ? Object.keys(settings).length : 0, + '\nsettings:', + settings + ); this.active = this.getDefaultSettings(); this.active.version = this.version; await this.save(); diff --git a/src/manifest.json b/src/manifest.json index 34705b8..22a0b8e 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Ultrawidify", "description": "Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.", - "version": "4.3.0.1", + "version": "4.3.0.2", "applications": { "gecko": { "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}" diff --git a/src/popup/panels/WhatsNewPanel.vue b/src/popup/panels/WhatsNewPanel.vue index ee14d83..cef61dd 100644 --- a/src/popup/panels/WhatsNewPanel.vue +++ b/src/popup/panels/WhatsNewPanel.vue @@ -2,8 +2,10 @@

What's new

Full changelog for older versions is available here.

-

4.3.0

+

4.3.0.2

I'm also laying ground for some features that will make my life easier: