This commit is contained in:
@@ -12,7 +12,17 @@ export const useApp = createGlobalState(() => {
|
||||
const ready = ref(false)
|
||||
const isTauri = computed(() => '__TAURI_INTERNALS__' in window)
|
||||
const commitSha = __COMMIT_SHA__
|
||||
const version = computedAsync(() => isTauri.value ? getVersion() : 'web', '-')
|
||||
const version = computedAsync(() => {
|
||||
if (import.meta.dev) {
|
||||
return 'dev'
|
||||
}
|
||||
else if (isTauri.value) {
|
||||
return getVersion()
|
||||
}
|
||||
else {
|
||||
return 'web'
|
||||
}
|
||||
}, '-')
|
||||
|
||||
const inputMuted = computed(() => {
|
||||
return !!mediasoup.micProducer.value?.paused
|
||||
|
||||
Reference in New Issue
Block a user