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

View File

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