Fix auto updater, add failure message, fix modals (#2335)

* Fix auto updater, add failure message, fix modals

* Fix ads hiding, updater UI

* dummy version, fix gh actions cache

* fix release conf

* actual version bump

* Fix ads hiding sometimes

* Fix event state init

* fix remaining bugs

* Fix lint on linux

* Fix deep linking on Windows

* Fix ad links opening multiple times
This commit is contained in:
Geometrically
2024-08-30 10:42:58 -07:00
committed by GitHub
parent 016c3d779b
commit bd61f5d591
70 changed files with 941 additions and 310 deletions

View File

@@ -58,6 +58,7 @@ const props = withDefaults(
closeOnEsc?: boolean
warnOnClose?: boolean
header?: string
onHide?: () => void
}>(),
{
type: true,
@@ -65,6 +66,7 @@ const props = withDefaults(
danger: false,
closeOnEsc: true,
warnOnClose: false,
onHide: () => {},
},
)
@@ -87,6 +89,7 @@ function show(event?: MouseEvent) {
}
function hide() {
props.onHide()
visible.value = false
window.removeEventListener('mousedown', updateMousePosition)
window.removeEventListener('keydown', handleKeyDown)