Skip to content

Commit ef83002

Browse files
committed
chore(ui): remove tauri
1 parent 659d79e commit ef83002

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

ui/src/plugins/Meta.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ function diff (meta, other) {
9797
function apply ({ add, remove }) {
9898
if (add.title) {
9999
document.title = add.title
100-
if (window.tauri) {
101-
window.tauri.setTitle(add.title)
102-
}
103100
}
104101

105102
if (Object.keys(remove).length > 0) {

ui/src/plugins/Platform.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ function getPlatform (userAgent) {
193193
else if (window._cordovaNative || window.cordova) {
194194
browser.cordova = true
195195
}
196-
else if (window.tauri) {
197-
browser.tauri = true
198-
}
199196

200197
fromSSR = browser.cordova === void 0 &&
201198
browser.electron === void 0 &&

ui/src/utils/open-url.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ export default (url, reject) => {
1717
else if (Vue.prototype.$q.electron !== void 0) {
1818
return Vue.prototype.$q.electron.shell.openExternal(url)
1919
}
20-
else if (Vue.prototype.$q.tauri !== void 0) {
21-
return Vue.prototype.$q.tauri.open(url)
22-
}
2320

2421
let win = open(url, '_blank')
2522

0 commit comments

Comments
 (0)