Skip to content
  • jcfr's avatar
    COMP: Fix macOS packaging reverting to "Slicer.app" bundle name · 46060d59
    jcfr authored
    This commit partially reverts r26425 (ENH: macOS: Update Slicer.app to
    include version information) to fix macOS packaging.
    
    Not all files were copied/configured in the "Slicer-X.Y.Z-YYYY-MM-DD.app"
    directory, a directory name "Slicer.app" was still used.
    
    
    Indeed, the directory
    
    /path/to/_CPack_Packages/macosx-amd64/DragNDrop/Slicer-X.Y.Z-YYYY-MM-DD-macosx-amd64/Slicer.app
    
    was containing the following files:
    
    ./Contents
    ./Contents/Info.plist
    ./Contents/MacOS
    ./Contents/MacOS/Slicer
    ./Contents/Resources
    ./Contents/Resources/qt_menu.nib
    ./Contents/Resources/qt_menu.nib/classes.nib
    ./Contents/Resources/qt_menu.nib/info.nib
    ./Contents/Resources/qt_menu.nib/keyedobjects.nib
    ./Contents/Resources/Slicer.icns
    
    and the directory
    
    /path/to/_CPack_Packages/macosx-amd64/DragNDrop/Slicer-X.Y.Z-YYYY-MM-DD-macosx-amd64/Slicer-X.Y.Z-YYYY-MM-DD.app
    
    was containing all the libraries and executables to be fixed up.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@26427 3bd1e089-480b-0410-8dfb-8563597acbee
    46060d59