Ignore:
Timestamp:
10/28/07 23:18:53 (17 years ago)
Author:
Nicholas Riley
Message:

setup.py: Note that the bundle bit needs setting.

RetroStatus.py: Launch/quit Apple Backup, to work around its periodic
failure when left running all the time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/RetroStatus/setup.py

    r201 r344  
    1717                        plist=dict(NSAppleScriptEnabled=True,
    1818                                   CFBundleIdentifier='net.sabi.RetroStatus'))))
     19
     20# don't forget to set the bundle bit:
     21# % SetFile -a B "dist/Retrospect Event Handler"
     22
     23# XXX can't do this from Python:
     24#
     25#     >>> f.FSGetCatalogInfo(kFSCatInfoFinderInfo)[2]
     26#     Carbon.File.FSSpec((-100, 118904, 'Retrospect Event Handler'))
     27#     >>> f.FSGetCatalogInfo(kFSCatInfoFinderInfo)[2].FSpGetFInfo()
     28#     Traceback (most recent call last):
     29#       File "<stdin>", line 1, in ?
     30#     MacOS.Error: (-43, 'File not found')
Note: See TracChangeset for help on using the changeset viewer.