diff --git a/scripts/build_sokol_demo.ps1 b/scripts/build_sokol_demo.ps1 index b0f7103..6f3ef94 100644 --- a/scripts/build_sokol_demo.ps1 +++ b/scripts/build_sokol_demo.ps1 @@ -44,7 +44,6 @@ $path_sokol_tools = join-path $path_thirdparty 'sokol-tools' $sokol_build_clibs_command = join-path $path_scripts 'build_sokol_library.ps1' -# clone-gitrepo $path_freetype $url_freetype clone-gitrepo $path_sokol_tools $url_sokol_tools Update-GitRepo -path $path_sokol -url $url_sokol -build_command $sokol_build_clibs_command diff --git a/scripts/helpers/misc.ps1 b/scripts/helpers/misc.ps1 index eeaf1a6..765973d 100644 --- a/scripts/helpers/misc.ps1 +++ b/scripts/helpers/misc.ps1 @@ -65,6 +65,10 @@ function Update-GitRepo write-host return } + + if ( -not(test-path -Path (join-path $path '.git'))) { + return # Assume the user doesn't want to use git grab packages automatically. + } git -C $path fetch $latest_commit_hash = git -C $path rev-parse '@{u}' diff --git a/thirdparty/stb/lib/stb_truetype.lib b/thirdparty/stb/lib/stb_truetype.lib index bb8942a..4971a03 100644 Binary files a/thirdparty/stb/lib/stb_truetype.lib and b/thirdparty/stb/lib/stb_truetype.lib differ