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
|
// UI ready event
|
||||||
let app_handle = app.handle();
|
let app_handle = app.handle();
|
||||||
let config_clone = Arc::clone(&config);
|
let config_clone = Arc::clone(&config);
|
||||||
|
@ -136,6 +136,10 @@
|
|||||||
async function brokenithmQr() {
|
async function brokenithmQr() {
|
||||||
await emit("openBrokenithmQr");
|
await emit("openBrokenithmQr");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function repo() {
|
||||||
|
await emit("openRepo");
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="titlebar">
|
<div class="titlebar">
|
||||||
@ -416,6 +420,7 @@
|
|||||||
{#if deviceMode.slice(0, 10) === "brokenithm"}
|
{#if deviceMode.slice(0, 10) === "brokenithm"}
|
||||||
<button on:click={async () => await brokenithmQr()}>Brokenithm QR</button>
|
<button on:click={async () => await brokenithmQr()}>Brokenithm QR</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
<button on:click={async () => await repo()}>About</button>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user