fix install script crash + VS solution

main
cosmonaut 2023-08-08 10:37:53 -07:00
parent 0f7bb8a94c
commit bdc2ae2ea1
2 changed files with 11 additions and 16 deletions

View File

@ -1,25 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30717.126
MinimumVisualStudioVersion = 15.0.26124.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProjectName.Core", "ProjectName\ProjectName.Core.csproj", "{4589302C-174A-4173-9654-CAA6CA1B5220}"
EndProject
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4589302C-174A-4173-9654-CAA6CA1B5220}.Debug|x64.ActiveCfg = Debug|x64
{4589302C-174A-4173-9654-CAA6CA1B5220}.Debug|x64.Build.0 = Debug|x64
{4589302C-174A-4173-9654-CAA6CA1B5220}.Release|x64.ActiveCfg = Release|x64
{4589302C-174A-4173-9654-CAA6CA1B5220}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {70247DA8-9C19-4FC5-B4BC-68E1262B9F4B}
EndGlobalSection
EndGlobal

View File

@ -52,6 +52,7 @@ function getLibs()
# Decompressing
echo "Decompressing moonlibs..."
mkdir -p "$MY_DIR"
mkdir -p "$MY_DIR"/moonlibs
tar -xvC "$MY_DIR"/moonlibs -f "$MY_DIR"/moonlibs.tar.bz2
if [ $? -eq 0 ]; then
echo "Finished decompressing!"
@ -100,8 +101,13 @@ git init
mkdir lib
pullMoonWorks
dotnet sln ${newProjectName}.sln add ${newProjectName}.csproj
dotnet sln ${newProjectName}.sln add lib/MoonWorks/MoonWorks.csproj
dotnet sln ${newProjectName}.sln add ${newProjectName}.csproj --in-root
dotnet sln ${newProjectName}.sln add lib/MoonWorks/MoonWorks.csproj --in-root
dotnet sln ${newProjectName}.sln add lib/MoonWorks/lib/dav1dfile/csharp/dav1dfile-CS.csproj --in-root
dotnet sln ${newProjectName}.sln add lib/MoonWorks/lib/FAudio/csharp/FAudio-CS.Core.csproj --in-root
dotnet sln ${newProjectName}.sln add lib/MoonWorks/lib/RefreshCS/RefreshCS.csproj --in-root
dotnet sln ${newProjectName}.sln add lib/MoonWorks/lib/SDL2-CS/SDL2-CS.Core.csproj --in-root
dotnet sln ${newProjectName}.sln add lib/MoonWorks/lib/WellspringCS/WellspringCS.csproj --in-root
echo "Project $newProjectName created at: "