Open changelog with tauri-plugin-opener
This commit is contained in:
parent
69a461dffc
commit
62e2e5ea6f
@ -55,9 +55,9 @@
|
||||
/>
|
||||
<div>
|
||||
<ButtonStyled>
|
||||
<a href="https://modrinth.com/news/changelog?filter=app" target="_blank">
|
||||
<button @click="() => openUrl('https://modrinth.com/news/changelog?filter=app')">
|
||||
<ExternalIcon /> {{ formatMessage(messages.changelog) }}
|
||||
</a>
|
||||
</button>
|
||||
</ButtonStyled>
|
||||
</div>
|
||||
</div>
|
||||
@ -85,6 +85,7 @@ import { formatBytes } from '@modrinth/utils'
|
||||
import { handleError } from '@/store/notifications'
|
||||
import { loading_listener } from '@/helpers/events'
|
||||
import { getCurrentWindow } from '@tauri-apps/api/window'
|
||||
import { openUrl } from '@tauri-apps/plugin-opener'
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'updateSkipped', version: string): Promise<void>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user