12 lines
379 B
TypeScript
Raw Normal View History

2018-04-02 05:34:16 +00:00
import AnimeNotifier from "../AnimeNotifier"
2017-10-17 09:27:15 +00:00
// Chrome extension installation
export function installExtension(arn: AnimeNotifier, button: HTMLElement) {
let browser: any = window["chrome"]
browser.webstore.install()
}
// Desktop app installation
export function installApp() {
alert("Open your browser menu > 'More tools' > 'Add to desktop' and enable 'Open as window'.")
}