diff --git a/KerbalVR/Assets/app_button_logo.png b/KerbalVR/Assets/app_button_logo.png new file mode 100644 index 00000000..63441c7e Binary files /dev/null and b/KerbalVR/Assets/app_button_logo.png differ diff --git a/KerbalVR/KerbalVR.csproj b/KerbalVR/KerbalVR.csproj index 2dc7fce5..5134e0d8 100644 --- a/KerbalVR/KerbalVR.csproj +++ b/KerbalVR/KerbalVR.csproj @@ -93,6 +93,7 @@ + @@ -128,40 +129,25 @@ - mkdir "$(TargetDir)rel\GameData\KerbalVR\openvr" - - + :: Create a release folder +mkdir "$(TargetDir)rel\GameData\KerbalVR\openvr" +mkdir "$(TargetDir)rel\GameData\KerbalVR\Assets" copy /Y "$(TargetDir)"\"$(TargetFileName)" "$(TargetDir)\rel\GameData\KerbalVR\" copy /Y "$(SolutionDir)"\LICENSE "$(TargetDir)\rel\" - - copy /Y "$(SolutionDir)\README.md" "$(TargetDir)\rel\" - - robocopy "$(ProjectDir)lib" "$(TargetDir)\rel\GameData\KerbalVR\openvr" /E +robocopy "$(ProjectDir)Assets" "$(TargetDir)\rel\GameData\KerbalVR\Assets" /E - - - - +:: Copy release into KSP directory if $(PlatformName) == x64 ( - - robocopy "$(TargetDir)\rel\GameData\KerbalVR" "C:\KSP_win64\GameData\KerbalVR" /E - - -) - - else ( - +) else ( robocopy "$(TargetDir)\rel\GameData\KerbalVR" "C:\KSP_win\GameData\KerbalVR" /E - - ) - - -copy /Y "$(ProjectDir)\LICENSE-openvr" "$(TargetDir)\rel\GameData\KerbalVR\openvr" +:: robocopy gives a bad return value. Leave this copy as the last step. +copy /Y "$(ProjectDir)\LICENSE-openvr" "$(TargetDir)\rel\GameData\KerbalVR\openvr" +