File: fix_mac_icon.sh

package info (click to toggle)
triplea 1.5.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 153,264 kB
  • sloc: java: 144,364; xml: 37,101; makefile: 28; sh: 22
file content (12 lines) | stat: -rw-r--r-- 395 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Mac OS X handles appbundle icons very strangely
#
# The icon file has to be called Icon^M,
#     where the ^M is really a carriage return
#     (I think it's a carriage return, it's a \r)
#
# Ant doesn't seem to play nice with this strange encoding,
#     so run this file after running the macRelease ant target

mv release/TripleA.app/Icon release/TripleA.app/Icon^M