|
|
@ -17,8 +17,11 @@ class ExtensionPlatform { |
|
|
|
return extension.runtime.getManifest().version |
|
|
|
return extension.runtime.getManifest().version |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
openExtensionInBrowser () { |
|
|
|
openExtensionInBrowser (route = null) { |
|
|
|
const extensionURL = extension.runtime.getURL('home.html') |
|
|
|
let extensionURL = extension.runtime.getURL('home.html') |
|
|
|
|
|
|
|
if (route) { |
|
|
|
|
|
|
|
extensionURL += `#${route}` |
|
|
|
|
|
|
|
} |
|
|
|
this.openWindow({ url: extensionURL }) |
|
|
|
this.openWindow({ url: extensionURL }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|