From e4b00ce2c86edc408403e2214c58202230d2d496 Mon Sep 17 00:00:00 2001
From: Stardust3D <3dstardust@gmail.com>
Date: Mon, 25 Mar 2024 10:25:27 +0100
Subject: [PATCH] preparation for 1.5
---
Source/RJW_patch_Autopsy.sln | 2 +
.../RJW_patch_Autopsy_1.5.csproj | 56 +++++++++++++++++++
Source/build.gradle.kts | 36 ++++++++++++
3 files changed, 94 insertions(+)
create mode 100644 Source/RJW_patch_Autopsy/RJW_patch_Autopsy_1.5.csproj
diff --git a/Source/RJW_patch_Autopsy.sln b/Source/RJW_patch_Autopsy.sln
index 6c92d17..7acaea5 100644
--- a/Source/RJW_patch_Autopsy.sln
+++ b/Source/RJW_patch_Autopsy.sln
@@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_patch_Autopsy_1.3", "RJ
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_patch_Autopsy_1.4", "RJW_patch_Autopsy\RJW_patch_Autopsy_1.4.csproj", "{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RJW_patch_Autopsy_1.5", "RJW_patch_Autopsy\RJW_patch_Autopsy_1.5.csproj", "{FC20CA27-4400-4AAC-99AF-F18CAFAC942E}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
diff --git a/Source/RJW_patch_Autopsy/RJW_patch_Autopsy_1.5.csproj b/Source/RJW_patch_Autopsy/RJW_patch_Autopsy_1.5.csproj
new file mode 100644
index 0000000..653253c
--- /dev/null
+++ b/Source/RJW_patch_Autopsy/RJW_patch_Autopsy_1.5.csproj
@@ -0,0 +1,56 @@
+
+
+
+ Debug
+ AnyCPU
+ {fc20ca27-4400-4aac-99af-f18cafac942e}
+ Library
+ Properties
+ RJW_patch_Autopsy
+ RJW_patch_Autopsy
+ net48
+ 512
+
+
+ 11
+ ©2024 Stardust3D
+ Stardust3D
+ 5371.0.1.4
+ 5371.0.1.4
+ true
+ RJW_patch_Autopsy.snk
+ This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.
+
+
+ bin\Release\1.5\
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ..\..\..\RimwoldAutopsy\1.5\Assemblies\Autopsy.dll
+
+
+ ..\..\..\rjw-base\1.5\Assemblies\RJW.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Source/build.gradle.kts b/Source/build.gradle.kts
index c12dc85..98ec505 100644
--- a/Source/build.gradle.kts
+++ b/Source/build.gradle.kts
@@ -37,6 +37,18 @@ tasks.register("buildC#_1.4") {
// destinationDir = "build/msbuild/bin"
}
+tasks.register("buildC#_1.5") {
+ // either a solution file
+ // solutionFile = "${rootProject.name}.sln"
+ // or a project file (.csproj or .vbproj)
+ projectFile = file("${rootProject.name}/${rootProject.name}_1.5.csproj")
+
+ targets = listOf("Clean", "Rebuild")
+ configuration = "Release"
+
+ // destinationDir = "build/msbuild/bin"
+}
+
tasks.register("sign_1.3") {
dependsOn("buildC#_1.3")
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48")
@@ -73,6 +85,24 @@ tasks.register("sign_1.4") {
)
}
+tasks.register("sign_1.5") {
+ dependsOn("buildC#_1.5")
+ workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.5/net48")
+ executable = "H:\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe"
+ args = listOf(
+ "sign",
+ "/seal",
+ "/t",
+ "http://timestamp.digicert.com",
+ "/a",
+ "/n",
+ "Stardust3D",
+ "/fd",
+ "certHash",
+ "${rootProject.name}.dll"
+ )
+}
+
tasks.register("copy") {
dependsOn("copy_1.3", "copy_1.4", "copy_about")
}
@@ -106,6 +136,12 @@ tasks.register("copyDll_1.4") {
into(project.projectDir.parentFile.resolve("1.4/Assemblies"))
}
+tasks.register("copyDll_1.5") {
+ dependsOn("sign_1.5")
+ from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.5/net48/${rootProject.name}.dll"))
+ into(project.projectDir.parentFile.resolve("1.5/Assemblies"))
+}
+
tasks.register("buildZip") {
dependsOn("clean", ":copy")
into("$friendlyName/1.3") {