From e554d41c94592299fc4ee3516402acbde2294ebc Mon Sep 17 00:00:00 2001
From: Li
Date: Sun, 17 Jul 2022 15:39:25 +1200
Subject: [PATCH] Update prebuild script
---
HorseIsleServer/HISPd/Program.cs | 4 +---
HorseIsleServer/HISPd/Resources/DEBIAN/control | 2 +-
HorseIsleServer/LibHISP/LibHISP.csproj | 2 +-
HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/N00BS/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/prebuild.py | 2 ++
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/HorseIsleServer/HISPd/Program.cs b/HorseIsleServer/HISPd/Program.cs
index 2ad54de..b73c5c2 100644
--- a/HorseIsleServer/HISPd/Program.cs
+++ b/HorseIsleServer/HISPd/Program.cs
@@ -1,9 +1,7 @@
-using HISP.Cli.Properties;
-using HISP.Server;
+using HISP.Server;
using System;
using System.IO;
using System.Threading;
-using System.Threading.Tasks;
namespace HISP.Cli
{
diff --git a/HorseIsleServer/HISPd/Resources/DEBIAN/control b/HorseIsleServer/HISPd/Resources/DEBIAN/control
index e8a8695..4f3635f 100644
--- a/HorseIsleServer/HISPd/Resources/DEBIAN/control
+++ b/HorseIsleServer/HISPd/Resources/DEBIAN/control
@@ -1,5 +1,5 @@
Package: hisp
-Version: 1.7.43
+Version: 1.7.47
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
Maintainer: Li
Homepage: https://islehorse.com
diff --git a/HorseIsleServer/LibHISP/LibHISP.csproj b/HorseIsleServer/LibHISP/LibHISP.csproj
index 4f89d45..2a68bb9 100644
--- a/HorseIsleServer/LibHISP/LibHISP.csproj
+++ b/HorseIsleServer/LibHISP/LibHISP.csproj
@@ -218,6 +218,6 @@
-
+
diff --git a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
index e53257d..e0861c6 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.7.43.0")]
-[assembly: AssemblyFileVersion("1.7.43.0")]
+[assembly: AssemblyVersion("1.7.47.0")]
+[assembly: AssemblyFileVersion("1.7.47.0")]
diff --git a/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs b/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
index 14bc36a..d435a75 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.7.43.0")]
-[assembly: AssemblyFileVersion("1.7.43.0")]
+[assembly: AssemblyVersion("1.7.47.0")]
+[assembly: AssemblyFileVersion("1.7.47.0")]
diff --git a/HorseIsleServer/prebuild.py b/HorseIsleServer/prebuild.py
index f162e0c..a408ba2 100644
--- a/HorseIsleServer/prebuild.py
+++ b/HorseIsleServer/prebuild.py
@@ -1,9 +1,11 @@
#!/usr/bin/python3
+
import os
import subprocess
import time
import datetime
import binascii
+os.chdir(os.path.dirname(os.path.realpath(__file__)))
# Updates version inside a AssemblyInfo.cs file
def update_asm_info(assemblyinfofile):