File: fix_mac_icon.sh

package info (click to toggle)
triplea 1.8.0.9%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 391,352 kB
  • ctags: 19,669
  • sloc: java: 167,875; xml: 42,918; sh: 26; makefile: 25
file content (12 lines) | stat: -rw-r--r-- 383 bytes parent folder | download
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