mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-12 18:52:21 -05:00
OSX: search and replace on existing file, spotted by Geert Stappers
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1535 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
677ecca907
commit
1ee27086db
@ -108,10 +108,10 @@
|
||||
<!-- prepare hide from dock option -->
|
||||
<copy file="dist/DavMail.app/Contents/Info.plist" tofile="dist/DavMail.app/Contents/Info-dock.plist"/>
|
||||
<copy file="dist/DavMail.app/Contents/Info.plist" tofile="dist/DavMail.app/Contents/Info-nodock.plist"/>
|
||||
<replaceregexp file="dist/DavMail.app/Contents/info-nodock.plist" match="<key>CFBundleName</key>"
|
||||
<replaceregexp file="dist/DavMail.app/Contents/Info-nodock.plist" match="<key>CFBundleName</key>"
|
||||
replace="<key>LSUIElement</key><string>1</string><key>CFBundleName</key>"/>
|
||||
<!-- java 1.6 is mandatory for hide from dock -->
|
||||
<replaceregexp file="dist/DavMail.app/Contents/info-nodock.plist" match="1\.5" replace="1.6"/>
|
||||
<replaceregexp file="dist/DavMail.app/Contents/Info-nodock.plist" match="1\.5" replace="1.6"/>
|
||||
<zip file="dist/DavMail-MacOSX-${release}.app.zip">
|
||||
<zipfileset dir="dist">
|
||||
<include name="DavMail.app/**/*"/>
|
||||
|
Loading…
Reference in New Issue
Block a user