Skip to content

Commit

Permalink
Add support for SpaceWarp 1.3.0
Browse files Browse the repository at this point in the history
Add support for SpaceWarp 1.3.0
  • Loading branch information
Falki-git authored Jun 22, 2023
2 parents 9e63990 + 7b8aa86 commit 6c2689f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MicroEngineerProject/MicroEngineer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy &quot;$(TargetDir)$(ProjectName).dll&quot; &quot;$(ProjectDir)..\Staging\BepInEx\plugins\micro_engineer\&quot;&#xD;&#xA;powershell start-process &quot;$(ProjectDir)..\Staging\CopyToGameAndRun.bat&quot;" />
<Exec Command="echo Killing task KSP2_x64.exe&#xD;&#xA;taskkill /f /fi &quot;pid gt 0&quot; /im KSP2_x64.exe&#xD;&#xA;&#xD;&#xA;echo Copying output .dll to &quot;..Kerbal Space Program 2 0.1.3.0 DEV\BepInEx\plugins\micro_engineer\&quot;&#xD;&#xA;xcopy /y &quot;$(TargetDir)$(ProjectName).dll&quot; &quot;D:\Steam\steamapps\common\Kerbal Space Program 2 0.1.3.0 DEV\BepInEx\plugins\micro_engineer\&quot;&#xD;&#xA;&#xD;&#xA;echo Copying output .pdb to &quot;..Kerbal Space Program 2 0.1.3.0 DEV\BepInEx\plugins\micro_engineer\&quot;&#xD;&#xA;xcopy /y &quot;$(TargetDir)$(ProjectName).pdb&quot; &quot;D:\Steam\steamapps\common\Kerbal Space Program 2 0.1.3.0 DEV\BepInEx\plugins\micro_engineer\&quot;&#xD;&#xA;&#xD;&#xA;echo Starting KSP2_x64.exe&#xD;&#xA;powershell &quot;start-process &quot;&quot;D:\Steam\steamapps\common\Kerbal Space Program 2 0.1.3.0 DEV\KSP2_x64.exe&quot;&quot;&quot;" />
</Target>
</Project>
4 changes: 2 additions & 2 deletions MicroEngineerProject/MicroEngineer/MicroEngineerMod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace MicroMod
{
//[BepInPlugin(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_NAME, MyPluginInfo.PLUGIN_VERSION)]
[BepInPlugin("com.micrologist.microengineer", "MicroEngineer", "1.1.0")]
[BepInPlugin("com.micrologist.microengineer", "MicroEngineer", "1.1.1")]
[BepInDependency(SpaceWarpPlugin.ModGuid, SpaceWarpPlugin.ModVer)]
public class MicroEngineerMod : BaseSpaceWarpPlugin
{
Expand All @@ -22,7 +22,7 @@ public override void OnInitialized()

GUID = Info.Metadata.GUID;

BackwardCompatibilityInitializations();
//BackwardCompatibilityInitializations();

Styles.Initialize();

Expand Down
4 changes: 2 additions & 2 deletions Staging/BepInEx/plugins/micro_engineer/swinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"name": "Micro Engineer",
"description": "Get in-flight and VAB information about your current vessel",
"source": "https://github.com/Micrologist/MicroEngineer",
"version": "1.1.0",
"version": "1.1.1",
"version_check": "https://raw.githubusercontent.com/Micrologist/MicroEngineer/main/Staging/BepInEx/plugins/micro_engineer/swinfo.json",
"dependencies": [
{
"id": "SpaceWarp",
"version": {
"min": "1.1.0",
"min": "1.3.0",
"max": "*"
}
}
Expand Down

0 comments on commit 6c2689f

Please sign in to comment.