From 76da976e6825ea3392b39ea7ee01625eaab55b25 Mon Sep 17 00:00:00 2001
From: Li
Date: Sun, 8 May 2022 13:13:14 +1200
Subject: [PATCH] Update made automatically due to pressing build
---
HorseIsleServer/HISPd/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/HISPd/Resources/DEBIAN/control | 7 +++++++
HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/N00BS/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/prebuild.py | 4 ++--
5 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs b/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
index 89c14f9..d48d973 100644
--- a/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.6.2.15")]
-[assembly: AssemblyFileVersion("1.6.2.15")]
+[assembly: AssemblyVersion("1.6.2.16")]
+[assembly: AssemblyFileVersion("1.6.2.16")]
diff --git a/HorseIsleServer/HISPd/Resources/DEBIAN/control b/HorseIsleServer/HISPd/Resources/DEBIAN/control
index e69de29..d541573 100644
--- a/HorseIsleServer/HISPd/Resources/DEBIAN/control
+++ b/HorseIsleServer/HISPd/Resources/DEBIAN/control
@@ -0,0 +1,7 @@
+Package: hisp
+Version: 1.6.3
+Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
+Maintainer: Li
+Homepage: https://islehorse.com
+Architecture: amd64
+Description: Open Source Implementation of the server for flash game "Horse Isle".
\ No newline at end of file
diff --git a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
index ba29fbe..03f698d 100644
--- a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
@@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.6.2.15")]
-[assembly: AssemblyFileVersion("1.6.2.15")]
+[assembly: AssemblyVersion("1.6.2.16")]
+[assembly: AssemblyFileVersion("1.6.2.16")]
diff --git a/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs b/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
index 6866c39..b3a5256 100644
--- a/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.6.2.15")]
-[assembly: AssemblyFileVersion("1.6.2.15")]
+[assembly: AssemblyVersion("1.6.2.16")]
+[assembly: AssemblyFileVersion("1.6.2.16")]
diff --git a/HorseIsleServer/prebuild.py b/HorseIsleServer/prebuild.py
index f27bc11..1072d10 100644
--- a/HorseIsleServer/prebuild.py
+++ b/HorseIsleServer/prebuild.py
@@ -60,8 +60,8 @@ update_asm_info(os.path.join("N00BS", "Properties", "AssemblyInfo.cs"))
update_asm_info(os.path.join("HISPd", "Properties", "AssemblyInfo.cs"))
control_file = os.path.join("HISPd", "Resources", "DEBIAN", "control")
-lines = open(control_file, "r").readlines()
+lines = open(control_file, "rb").readlines()
for i in range(0,len(lines)):
if lines[i].startswith(b"Version: "):
lines[i] = b"Version: "+bytes(commit_tag.replace("v", ""), "UTF-8")
-open(control_file, "w").writelines(control_file)
\ No newline at end of file
+open(control_file, "wb").writelines(lines)
\ No newline at end of file