From 2b0c42317e6f45287e998bb7af078026278b4992 Mon Sep 17 00:00:00 2001
From: Nishi <nishi@nishi.boats>
Date: Wed, 9 Oct 2024 02:37:03 +0000
Subject: [PATCH] use reisen instead of 7z sfx

git-svn-id: file:///raid/svn-personal/tewi/trunk@281 8739d7e6-ffea-ec47-b151-bdff447c6205
---
 Koakumafile | 5 +----
 reisen.conf | 7 +++++++
 2 files changed, 8 insertions(+), 4 deletions(-)
 create mode 100644 reisen.conf

diff --git a/Koakumafile b/Koakumafile
index 4987d76..cd82842 100644
--- a/Koakumafile
+++ b/Koakumafile
@@ -78,10 +78,7 @@ proc run {project_name} {
 	foreach filen [glob Module/*.dll] {
 		RunCommand "cp $filen workdir/modules/"
 	}
-	cd workdir
-	RunCommand "7z a ../archive.7z *"
-	cd ..
-	exec cat /usr/share/7z.sfx archive.7z > tewidist.exe
+	RunCommand "reisen 'Tewi HTTPd' @reisen.conf tewidist.exe"
 	RunCommand "rm -rf workdir"
 	RunCommand "doas mkdir -p /raid/f/g/tewi/$dirname"
 	RunCommand "doas cp tewidist.exe /raid/f/g/tewi/$dirname/tewidist$dirname-[exec make get-version]-nossl.exe"
diff --git a/reisen.conf b/reisen.conf
new file mode 100644
index 0000000..31eef78
--- /dev/null
+++ b/reisen.conf
@@ -0,0 +1,7 @@
+# $Id$
+Include workdir
+DefaultDirectory C:\Tewi
+CheckOverwrite /etc/tewi.conf
+CheckOverwrite /www/index.html
+CheckOverwrite /www/pbtewi.gif
+DirectoryUnchangable
-- 
2.43.0