From f6b6c6577975ce60c67a33eb38c067b6ac1d04f2 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 27 Sep 2023 23:38:55 +0200 Subject: Initial checkin --- .gitignore | 1 + Setup.bat | 14 ++++++++++++++ config.json | 11 +++++++++++ 3 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 Setup.bat create mode 100644 config.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4b97524 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/setup.exe diff --git a/Setup.bat b/Setup.bat new file mode 100644 index 0000000..9491fa3 --- /dev/null +++ b/Setup.bat @@ -0,0 +1,14 @@ +@echo off + +net use /persistent:no V: \\fileserver\software\element + +mkdir %APPDATA%\Element +copy v:\config.json %APPDATA%\Element +v:\setup.exe + +timeout /t 60 /nobreak > NUL + +echo y | net use V: /delete + +cd %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup +move %USERPROFILE%\Desktop\Element.lnk diff --git a/config.json b/config.json new file mode 100644 index 0000000..90be8fd --- /dev/null +++ b/config.json @@ -0,0 +1,11 @@ +{ + "default_server_config": { + "m.homeserver": { + "base_url": "https://matrix.toni.immo", + "server_name": "toni.immo" + } + }, + "room_directory": { + "servers": [] + } +} \ No newline at end of file -- cgit v1.2.3