mirror of
https://github.com/4yn/slidershim.git
synced 2025-02-01 20:18:07 +01:00
add link to repo
This commit is contained in:
parent
358b53c0be
commit
60098bba46
@ -116,6 +116,11 @@ fn main() {
|
||||
}
|
||||
});
|
||||
|
||||
// Show repo
|
||||
app.listen_global("openRepo", |_| {
|
||||
open::that("https://github.com/4yn/slidershim").ok();
|
||||
});
|
||||
|
||||
// UI ready event
|
||||
let app_handle = app.handle();
|
||||
let config_clone = Arc::clone(&config);
|
||||
|
@ -136,6 +136,10 @@
|
||||
async function brokenithmQr() {
|
||||
await emit("openBrokenithmQr");
|
||||
}
|
||||
|
||||
async function repo() {
|
||||
await emit("openRepo");
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="titlebar">
|
||||
@ -416,6 +420,7 @@
|
||||
{#if deviceMode.slice(0, 10) === "brokenithm"}
|
||||
<button on:click={async () => await brokenithmQr()}>Brokenithm QR</button>
|
||||
{/if}
|
||||
<button on:click={async () => await repo()}>About</button>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user