mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-27 16:10:32 +00:00
rebrand to meshchat
This commit is contained in:
parent
e739b6fa5a
commit
627e62ca6e
11 changed files with 547 additions and 109 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<title>Reticulum WebChat</title>
|
||||
<title>Reticulum MeshChat</title>
|
||||
<script src="./assets/js/tailwindcss/tailwind-v3.4.3-forms-v0.5.7.js"></script>
|
||||
</head>
|
||||
<body class="bg-gray-100 flex">
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<!-- about -->
|
||||
<div class="mx-auto text-center mb-2">
|
||||
<div class="font-bold">Reticulum WebChat</div>
|
||||
<div class="font-bold">Reticulum MeshChat</div>
|
||||
<div class="text-sm"><span id="app-version"></span> Developed by Liam Cottle</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ app.whenReady().then(async () => {
|
|||
// navigate to loading page
|
||||
await mainWindow.loadFile(path.join(__dirname, 'loading.html'));
|
||||
|
||||
// find path to python/cxfreeze reticulum webchat executable
|
||||
const exeName = process.platform === "win32" ? "ReticulumWebChat.exe" : "ReticulumWebChat";
|
||||
// find path to python/cxfreeze reticulum meshchat executable
|
||||
const exeName = process.platform === "win32" ? "ReticulumMeshChat.exe" : "ReticulumMeshChat";
|
||||
var exe = path.join(__dirname, `build/exe/${exeName}`);
|
||||
|
||||
// if dist exe doesn't exist, check local build
|
||||
|
|
@ -81,9 +81,9 @@ app.whenReady().then(async () => {
|
|||
|
||||
// spawn executable
|
||||
exeChildProcess = await spawn(exe, [
|
||||
'--headless', // reticulum webchat usually launches default web browser, we don't want this when using electron
|
||||
'--headless', // reticulum meshchat usually launches default web browser, we don't want this when using electron
|
||||
'--port', '9337', // FIXME: let system pick a random unused port?
|
||||
'--storage-dir', path.join(app.getPath('home'), '.reticulum-webchat'), // ~/.reticulum-webchat
|
||||
'--storage-dir', path.join(app.getPath('home'), '.reticulum-meshchat'), // ~/.reticulum-meshchat
|
||||
]);
|
||||
|
||||
// log stdout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue