mirror of
https://github.com/islehorse/HISP.git
synced 2025-06-06 02:51:27 +12:00
Test
This commit is contained in:
parent
a501f5886c
commit
c703d5b7f7
13 changed files with 20 additions and 10 deletions
|
@ -9,7 +9,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HISPd", "HISPd\HISPd.csproj
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "N00BS", "N00BS\N00BS.csproj", "{6B45A1E8-0F54-4BF7-AF48-41B9FE676570}"
|
||||
EndProject
|
||||
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Installer", "Installer\Installer.vdproj", "{D330A197-67D4-42B0-8906-54264AF95EC1}"
|
||||
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "N00BSInstaller", "N00BSInstaller\N00BSInstaller.vdproj", "{D330A197-67D4-42B0-8906-54264AF95EC1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="7.0.0-preview.5.22301.12" />
|
||||
<PackageReference Include="runtime.win-x64.Microsoft.DotNet.ILCompiler" Version="7.0.0-preview.5.22301.12" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: hisp
|
||||
Version: 1.7.36
|
||||
Version: 1.7.43
|
||||
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
|
||||
Maintainer: Li
|
||||
Homepage: https://islehorse.com
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_LastSelectedProfileId>C:\Users\User\Documents\git\HISP\HorseIsleServer\LibHISP\Properties\PublishProfiles\Linux64.pubxml</_LastSelectedProfileId>
|
||||
<_LastSelectedProfileId>C:\Users\Li\Documents\git\HISP\HorseIsleServer\LibHISP\Properties\PublishProfiles\Linux64.pubxml</_LastSelectedProfileId>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -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.36.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.36.0")]
|
||||
[assembly: AssemblyVersion("1.7.43.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.43.0")]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_LastSelectedProfileId>C:\Users\User\Documents\git\HISP\HorseIsleServer\N00BS\Properties\PublishProfiles\Win64.pubxml</_LastSelectedProfileId>
|
||||
<_LastSelectedProfileId>C:\Users\Li\Documents\git\HISP\HorseIsleServer\N00BS\Properties\PublishProfiles\Win64.pubxml</_LastSelectedProfileId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="LoadingForm.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.36.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.36.0")]
|
||||
[assembly: AssemblyVersion("1.7.43.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.43.0")]
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<History>True|2022-07-15T04:32:58.3157042Z;</History>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -1,32 +0,0 @@
|
|||
## Written by SilicaAndPina,
|
||||
## This Script is entered into the Public Domain!
|
||||
## HISP v1.0 to v1.1 migration script...
|
||||
|
||||
# To use this script you must find/replace
|
||||
# 'master' to your master db name
|
||||
# and 'game1' to your game db name
|
||||
CREATE DATABASE IF NOT EXISTS master;
|
||||
CREATE TABLE IF NOT EXISTS master.Users(Id INT, Username TEXT(16),Email TEXT(128),Country TEXT(128),SecurityQuestion Text(128),SecurityAnswerHash TEXT(128),Age INT,PassHash TEXT(128), Salt TEXT(128),Gender TEXT(16), Admin TEXT(3), Moderator TEXT(3));
|
||||
# Transfer user table to master db
|
||||
USE game1;
|
||||
INSERT INTO master.Users(SELECT Id,Username,Email,Country,SecurityQuestion,SecurityAnswerHash,Age,PassHash,Salt,Gender,Admin,Moderator FROM Users);
|
||||
ALTER TABLE Users DROP COLUMN Email;
|
||||
ALTER TABLE Users DROP COLUMN Country;
|
||||
ALTER TABLE Users DROP COLUMN SecurityQuestion;
|
||||
ALTER TABLE Users DROP COLUMN SecurityAnswerHash;
|
||||
ALTER TABLE Users DROP COLUMN Age;
|
||||
|
||||
# Add new colums
|
||||
ALTER TABLE UserExt ADD COLUMN TotalLogins INT;
|
||||
UPDATE UserExt SET TotalLogins=0;
|
||||
DROP TABLE OnlineUsers; # Server will re-generate the table when next started
|
||||
|
||||
# Change table sizes
|
||||
ALTER TABLE UserExt CHANGE COLUMN ProfilePage ProfilePage TEXT(4000);
|
||||
ALTER TABLE UserExt CHANGE COLUMN PrivateNotes PrivateNotes TEXT(65535);
|
||||
ALTER TABLE MailBox CHANGE COLUMN Subject Subject TEXT(100);
|
||||
ALTER TABLE MailBox CHANGE COLUMN Message Message TEXT(65535);
|
||||
ALTER TABLE Horses CHANGE COLUMN description description TEXT(4000);
|
||||
ALTER TABLE WildHorse CHANGE COLUMN description description TEXT(4000);
|
||||
ALTER TABLE Ranches CHANGE COLUMN title title TEXT(50);
|
||||
ALTER TABLE Ranches CHANGE COLUMN description description TEXT(250);
|
|
@ -1,13 +0,0 @@
|
|||
## Written by SilicaAndPina,
|
||||
## This Script is entered into the Public Domain!
|
||||
## HISP v1.1 to v1.2 migration script...
|
||||
|
||||
# To use this script you must find/replace
|
||||
# 'game1' to your game db name
|
||||
USE game1;
|
||||
|
||||
# Add new colums
|
||||
ALTER TABLE ShopInventory ADD COLUMN Data INT;
|
||||
|
||||
# Initalize new colum data.
|
||||
UPDATE ShopInventory SET Data=0;
|
|
@ -1,13 +0,0 @@
|
|||
## Written by SilicaAndPina,
|
||||
## This Script is entered into the Public Domain!
|
||||
## HISP v1.2 to v1.8 migration script...
|
||||
|
||||
# To use this script you must find/replace
|
||||
# 'master' to your game db name
|
||||
USE master;
|
||||
|
||||
# Add new colums
|
||||
ALTER TABLE Users ADD COLUMN EmailActivated TEXT(3);
|
||||
|
||||
# Initalize new colum data.
|
||||
UPDATE Users SET EmailActivated="YES";
|
|
@ -11,7 +11,7 @@ def update_asm_info(assemblyinfofile):
|
|||
global commit_tag
|
||||
global commit_branch
|
||||
global assembly_version
|
||||
print("Updating Versopn inside: "+assemblyinfofile)
|
||||
print("Updating Verson inside: "+assemblyinfofile)
|
||||
lines = open(assemblyinfofile, "rb").readlines()
|
||||
for i in range(0,len(lines)):
|
||||
if lines[i].startswith(b"[assembly: AssemblyVersion(\""):
|
||||
|
@ -68,7 +68,7 @@ update_asm_info(os.path.join("HISPd" , "Properties", "AssemblyInfo.cs"))
|
|||
|
||||
# Update control file in dpkg
|
||||
control_file = os.path.join("HISPd", "Resources", "DEBIAN", "control")
|
||||
print("Updating Versopn inside: "+control_file)
|
||||
print("Updating Verson inside: "+control_file)
|
||||
lines = open(control_file, "rb").readlines()
|
||||
for i in range(0,len(lines)):
|
||||
if lines[i].startswith(b"Version: "):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue