summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin f. krafft <madduck@madduck.net>2023-09-27 23:38:55 +0200
committermartin f. krafft <madduck@madduck.net>2023-09-27 23:38:55 +0200
commitf6b6c6577975ce60c67a33eb38c067b6ac1d04f2 (patch)
tree4285c46f1e107231180f19c74ab00eec012bcb11
Initial checkinHEADmain
-rw-r--r--.gitignore1
-rw-r--r--Setup.bat14
-rw-r--r--config.json11
3 files changed, 26 insertions, 0 deletions
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