Skip to content

Commit

Permalink
feat: add url to open onInstalled (#18)
Browse files Browse the repository at this point in the history
* bugfix: use correct casing/spacing on workspace amenities string (#14)

* bugfix: correct string casing on workspace amenities

Signed-off-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* revert unnecessary changes

Signed-off-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* remove umused workflows

Signed-off-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* feat: add url to open onInstalled  (#17)

* bugfix: use correct casing/spacing on workspace amenities string (#14) (#15)

* bugfix: correct string casing on workspace amenities

* feat: add url to open onInstalled

Signed-off-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>

* feat: update manifest

Signed-off-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
  • Loading branch information
Patrick-Erichsen authored Oct 27, 2021
1 parent 588f90c commit aabeeef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Offie - Airbnb Wifi Reviews",
"description": "View Airbnb Wifi and workspace info from the search results page",
"manifest_version": 3,
"version": "0.0.1",
"version": "0.0.3",
"icons": {
"16": "img/offie-logo-16.png",
"48": "img/offie-logo-48.png",
Expand Down
5 changes: 5 additions & 0 deletions src/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ chrome.tabs.onUpdated.addListener((tabId, { url }) => {

chrome.runtime.onInstalled.addListener(() => {
chrome.runtime.setUninstallURL('https://offie.co/uninstall');

chrome.tabs.create({
url: 'https://offie.co/welcome',
active: true,
});
});

0 comments on commit aabeeef

Please # to comment.