You've already forked pages
forked from didirus/AstralRinth
* 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
14 lines
435 B
JavaScript
14 lines
435 B
JavaScript
import { invoke } from '@tauri-apps/api/core'
|
|
|
|
export async function init_ads_window(x, y, width, height, overrideShown = false) {
|
|
return await invoke('plugin:ads|init_ads_window', { x, y, width, height, overrideShown })
|
|
}
|
|
|
|
export async function show_ads_window() {
|
|
return await invoke('plugin:ads|show_ads_window')
|
|
}
|
|
|
|
export async function hide_ads_window(reset) {
|
|
return await invoke('plugin:ads|hide_ads_window', { reset })
|
|
}
|