Add local HTML download and release 0.0.3

This commit is contained in:
Schluffe committed 2026-10-09 15:25:56 +02:00
1 parent bee62a79a9
commit 62c749de73
10 files changed
+98 -12

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ import SendPanel from './components/SendPanel.vue';
import ReceivePanel from './components/ReceivePanel.vue';
const mode = ref<'send' | 'receive'>('send');
const canDownloadApp = import.meta.env.PROD && location.protocol !== 'file:';
</script>
<template>
@@ -14,6 +15,7 @@ const mode = ref<'send' | 'receive'>('send');
Browser-to-browser file sharing. No account or file-hosting backend.
Direct WebRTC connections, with an optional relay you explicitly enable.
</p>
<a v-if="canDownloadApp" class="app-download" href="./hellcon-local.html" download="HellCon.html">Download app for local use</a>
<div class="tabs" role="group" aria-label="Transfer mode">
<button :class="{ active: mode === 'send' }" :aria-pressed="mode === 'send'" @click="mode = 'send'">Send</button>