VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-12 01:19:45 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-14 15:05:24 +0200
commitb6dcea013e439099328dd15fd4335bd71d3a04da (patch)
tree07eb4e492ffbb2f09ebb2f302471b7f392ca18a6 /src/Main
parentf56a8c49f90bda734110f5ee28b2c405b417b057 (diff)
downloadVeraCrypt-b6dcea013e439099328dd15fd4335bd71d3a04da.tar.gz
VeraCrypt-b6dcea013e439099328dd15fd4335bd71d3a04da.zip
MacOSX: Add build scripts and modifications to linking against wxWidgets 3.1.2 for non legacy build targeting OSX 10.9+
Diffstat (limited to 'src/Main')
-rwxr-xr-xsrc/Main/Main.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make
index 0bdd951d..9bf5b025 100755
--- a/src/Main/Main.make
+++ b/src/Main/Main.make
@@ -210,7 +210,11 @@ endif
cp $(BASE_DIR)/../doc/html/* $(APPNAME).app/Contents/Resources/doc/HTML
echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo
+ifdef VC_LEGACY_BUILD
+ sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.legacy.xml >$(APPNAME).app/Contents/Info.plist
+else
sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist
+endif
codesign -s "Developer ID Application: IDRIX (Z933746L2S)" --timestamp $(APPNAME).app
install: prepare