Skip to content

Commit

Permalink
Merge pull request #16 from mlsof21/fix-perks
Browse files Browse the repository at this point in the history
fix perks - ms
  • Loading branch information
mlsof21 committed Sep 21, 2022
2 parents dd8e237 + c25188a commit b33b49e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Create Release
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### 1.1.3 - 2022-09-20 - Perk fix

- Fixed perk matching

### 1.1.2 - 2022-09-19 - Options page links

- Added an `onInstalled` event for the extension. It'll direct users to the options page.
- Link to the options page from the `?`

### 1.1.1 - 2022-09-16 - Better performance

- Use a `waitForElement/waitForSearchToUpdate` function instead of arbitrarily sleeping in code
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "voice-dim",
"version": "1.1.2",
"version": "1.1.3",
"description": "Perform common DIM actions by using speech recognition.",
"main": "dist/chrome/js/voice-dim.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.chrome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Voice DIM",
"description": "Control DIM with your voice.",
"version": "1.1.2",
"version": "1.1.3",
"manifest_version": 3,
"background": {
"service_worker": "js/background.js"
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Voice DIM",
"description": "Control DIM with your voice.",
"version": "1.1.2",
"version": "1.1.3",
"manifest_version": 2,
"background": {
"scripts": ["js/background.js"]
Expand Down
2 changes: 1 addition & 1 deletion src/ts/voiceDim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function getPerkQuery(query: string) {
const perkNames = [];
for (const perkName of splitPerkNames) {
const closestPerk = getClosestMatch(knownPerks, perkName);
if (closestPerk && closestPerk.match !== '') perkNames.push(`perkname:"${closestPerk}"`);
if (closestPerk && closestPerk.match !== '') perkNames.push(`perkname:"${closestPerk.match}"`);
}
perkQuery = perkNames.join(' ');
return perkQuery;
Expand Down

0 comments on commit b33b49e

Please sign in to comment.