diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-08-10 10:34:20 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:22:21 +0100 |
commit | 41a31ac76f55007d793e7bb9fcf64a5cfbc60c09 (patch) | |
tree | 6813fbfa9810fc23b6fc4ab6fb86bfa29b123386 /src/Main/Main.make | |
parent | 4fefd61ceea569334385ae0afa1f635dbba34cf4 (diff) | |
download | VeraCrypt-41a31ac76f55007d793e7bb9fcf64a5cfbc60c09.tar.gz VeraCrypt-41a31ac76f55007d793e7bb9fcf64a5cfbc60c09.zip |
MacOSX : Copy console version of VeraCrypt inside the bundle under the name veracrypt_console.
Diffstat (limited to 'src/Main/Main.make')
-rw-r--r-- | src/Main/Main.make | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Main/Main.make b/src/Main/Main.make index 971df738..1e6a1ccc 100644 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -141,12 +141,23 @@ endif ifeq "$(PLATFORM)" "MacOSX" mkdir -p $(APPNAME).app/Contents/MacOS $(APPNAME).app/Contents/Resources -rm -f $(APPNAME).app/Contents/MacOS/$(APPNAME) + -rm -f $(APPNAME).app/Contents/MacOS/$(APPNAME)_console ifeq "$(TC_BUILD_CONFIG)" "Release" +ifdef TC_NO_GUI + cp $(PWD)/Main/$(APPNAME) $(APPNAME).app/Contents/MacOS/$(APPNAME)_console +else cp $(PWD)/Main/$(APPNAME) $(APPNAME).app/Contents/MacOS/$(APPNAME) +endif +else +ifdef TC_NO_GUI + -rm -f $(PWD)/Main/$(APPNAME)_console + cp $(PWD)/Main/$(APPNAME) $(PWD)/Main/$(APPNAME)_console + -ln -sf $(PWD)/Main/$(APPNAME)_console $(APPNAME).app/Contents/MacOS/$(APPNAME)_console else -ln -sf $(PWD)/Main/$(APPNAME) $(APPNAME).app/Contents/MacOS/$(APPNAME) endif +endif cp $(PWD)/Resources/Icons/VeraCrypt.icns $(APPNAME).app/Contents/Resources cp "$(PWD)/Release/Setup Files/VeraCrypt User Guide.pdf" $(APPNAME).app/Contents/Resources |