Skip to content

Commit 5a8852a

Browse files
Updating to use master branch for downloading examples
1 parent 971536f commit 5a8852a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Examples/InteractiveTutorial.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,15 +782,15 @@ bool Chapter3_ExternalDependencies()
782782
#ifdef _WIN32
783783
if(!RunCommandWithPrompt( "powershell -Command \""
784784
"Invoke-WebRequest https://github.com/Neko-Box-Coder/runcpp2/raw/"
785-
"refs/heads/InteractiveTutorial/Examples/Logging.cpp "
785+
"refs/heads/master/Examples/Logging.cpp "
786786
"-OutFile tutorial/Logging.cpp\"", true, false))
787787
{
788788
return false;
789789
}
790790
#else
791791
if(!RunCommandWithPrompt( "curl -L -o tutorial/Logging.cpp "
792792
"https://github.com/Neko-Box-Coder/runcpp2/raw/refs/heads/"
793-
"InteractiveTutorial/Examples/Logging.cpp"))
793+
"master/Examples/Logging.cpp"))
794794
{
795795
return false;
796796
}
@@ -818,7 +818,7 @@ bool Chapter3_ExternalDependencies()
818818
#ifdef _WIN32
819819
if(!RunCommandWithPrompt( "powershell -Command \""
820820
"Invoke-WebRequest https://github.com/Neko-Box-Coder/runcpp2/raw/"
821-
"refs/heads/InteractiveTutorial/Examples/SDLWindow.cpp "
821+
"refs/heads/master/Examples/SDLWindow.cpp "
822822
"-OutFile tutorial/SDLWindow.cpp\"", true, false))
823823
{
824824
return false;
@@ -827,7 +827,7 @@ bool Chapter3_ExternalDependencies()
827827
#else
828828
if(!RunCommandWithPrompt( "curl -L -o tutorial/SDLWindow.cpp "
829829
"https://github.com/Neko-Box-Coder/runcpp2/raw/refs/heads/"
830-
"InteractiveTutorial/Examples/SDLWindow.cpp"))
830+
"master/Examples/SDLWindow.cpp"))
831831
{
832832
return false;
833833
}

Src/runcpp2/runcpp2.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ bool runcpp2::DownloadTutorial(char* runcppPath)
848848
#ifdef _WIN32
849849
if(!RunCommand( "powershell -Command \""
850850
"Invoke-WebRequest https://github.com/Neko-Box-Coder/runcpp2/raw/"
851-
"refs/heads/InteractiveTutorial/Examples/InteractiveTutorial.cpp "
851+
"refs/heads/master/Examples/InteractiveTutorial.cpp "
852852
"-OutFile InteractiveTutorial.cpp\"",
853853
false,
854854
"./",
@@ -858,9 +858,9 @@ bool runcpp2::DownloadTutorial(char* runcppPath)
858858
return false;
859859
}
860860
#else
861-
if(!RunCommand( "curl -L -o tutorial/Logging.cpp "
861+
if(!RunCommand( "curl -L -o InteractiveTutorial.cpp "
862862
"https://github.com/Neko-Box-Coder/runcpp2/raw/refs/heads/"
863-
"InteractiveTutorial/Examples/InteractiveTutorial.cpp",
863+
"master/Examples/InteractiveTutorial.cpp",
864864
false,
865865
"./",
866866
dummy,

0 commit comments

Comments
 (0)