@@ -21,25 +21,6 @@ all: frontend pob
2121 cp ${DIR} /Info.plist.sh ${DIR} /PathOfBuilding.app/Contents/Info.plist; \
2222 echo ' Finished'
2323
24- # Sign with the first available identity
25- sign :
26- echo ' Signing with the first available identity' ; \
27- rm -rf PathOfBuilding.app/Contents/MacOS/spec/TestBuilds/3.13; \
28- codesign -v --force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app/Contents/MacOS/lcurl.so PathOfBuilding.app/Contents/libs/*; \
29- codesign -v --force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app/Contents/MacOS/PathOfBuilding; \
30- codesign -v --force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app; \
31- codesign -d -v PathOfBuilding.app
32-
33- # We remove the `launch.devMode or` to ensure the user's builds are stored not in
34- # the binary, but within their user directory
35-
36- # Relevant code is:
37- #
38- # ```lua
39- # if launch.devMode or (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
40- # -- If running in dev mode or standalone mode, put user data in the script path
41- # self.userPath = GetScriptPath().."/"
42- # ```
4324pob : load_pob luacurl frontend
4425 rm -rf PathOfBuildingBuild; \
4526 cp -rf PathOfBuilding PathOfBuildingBuild; \
@@ -50,10 +31,12 @@ pob: load_pob luacurl frontend
5031frontend :
5132 arch=x86_64 meson -Dbuildtype=release --prefix=${DIR} /PathOfBuilding.app --bindir=Contents/MacOS build
5233
34+ # We checkout the latest version.
5335load_pob :
5436 git clone https://github.com/PathOfBuildingCommunity/PathOfBuilding.git; \
5537 pushd PathOfBuilding; \
56- git add . && git fetch && git reset --hard origin/dev; \
38+ git fetch; \
39+ git add . && git reset --hard HEAD && git checkout $$(git describe --tags $$(git rev-list --tags --max-count=1 ) ) ; \
5740 popd
5841
5942luacurl :
0 commit comments