From f03cade23e8759894d48b9d00fc0ff6f78cbd7cf Mon Sep 17 00:00:00 2001 From: AdamN <7974720+anr2me@users.noreply.github.com> Date: Fri, 11 Jul 2025 08:05:35 +0700 Subject: [PATCH] These too. --- b-ios.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b-ios.sh b/b-ios.sh index a7acd7bad7..4bf7c49b46 100755 --- a/b-ios.sh +++ b/b-ios.sh @@ -9,7 +9,7 @@ mkdir -p build-ios cd build-ios rm -rf PPSSPP.app # There seems to be an existing symlink, may be from ccache? We don't want to include old stuff that might be removed to be included in the final IPA file. # It seems xcodebuild is looking for "git-version.cpp" file inside "build-ios" directory instead of at repo's root dir. -echo "const char *PPSSPP_GIT_VERSION = \"$(git describe --always --tags)\";" > git-version.cpp +echo "const char *PPSSPP_GIT_VERSION = \"$(git describe --always)\";" > git-version.cpp echo "#define PPSSPP_GIT_VERSION_NO_UPDATE 1" >> git-version.cpp # Generate exportOptions.plist for xcodebuild echo ' @@ -98,7 +98,7 @@ if [ -e PPSSPP.app/PPSSPP ]; then echo "Signing PPSSPP.app/PPSSPP ..." ldid -Sent.xml PPSSPP.app/PPSSPP fi -version_number=`echo "$(git describe --tags --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@-\1-\2@;s@^v@@;s@%@~@g')"` +version_number=`echo "$(git describe --always --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@-\1-\2@;s@^v@@;s@%@~@g')"` echo ${version_number} > PPSSPP.app/Version.txt sudo -S chown -R 1004:3 Payload