Skip to content
Snippets Groups Projects
Commit e3fa3add authored by Aura Linden's avatar Aura Linden
Browse files

Reverted mac updater

parent 867d00c6
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
<?xml version="1.0" standalone="yes"?>
<object class="NSIBObjectData">
<string name="targetFramework">IBCarbonFramework</string>
<object name="rootObject" class="NSCustomObject" id="1">
<string name="customClass">NSApplication</string>
</object>
<array count="5" name="allObjects">
<object class="IBCarbonWindow" id="166">
<string name="windowRect">405 222 533 663 </string>
<string name="title">Second Life Updater</string>
<object name="rootControl" class="IBCarbonRootControl" id="167">
<string name="bounds">0 0 128 441 </string>
<array count="3" name="subviews">
<object class="IBCarbonStaticText" id="181">
<string name="bounds">20 20 44 421 </string>
<ostype name="controlSignature">what</ostype>
<string name="title">Initializing…</string>
</object>
<object class="IBCarbonButton" id="183">
<string name="bounds">88 351 108 421 </string>
<string name="title">Cancel</string>
<ostype name="command">not!</ostype>
<int name="buttonType">2</int>
</object>
<object class="IBCarbonProgressBar" id="193">
<string name="bounds">51 19 70 422 </string>
<ostype name="controlSignature">prog</ostype>
<int name="initialValue">50</int>
</object>
</array>
</object>
<boolean name="isResizable">FALSE</boolean>
<int name="carbonWindowClass">2</int>
<int name="themeBrush">3</int>
<int name="windowPosition">7</int>
</object>
<reference idRef="167"/>
<reference idRef="181"/>
<reference idRef="183"/>
<reference idRef="193"/>
</array>
<array count="5" name="allParents">
<reference idRef="1"/>
<reference idRef="166"/>
<reference idRef="167"/>
<reference idRef="167"/>
<reference idRef="167"/>
</array>
<dictionary count="2" name="nameTable">
<string>File&apos;s Owner</string>
<reference idRef="1"/>
<string>Updater</string>
<reference idRef="166"/>
</dictionary>
<unsigned_int name="nextObjectID">194</unsigned_int>
</object>
...@@ -18,14 +18,10 @@ include_directories( ...@@ -18,14 +18,10 @@ include_directories(
) )
set(mac_updater_SOURCE_FILES set(mac_updater_SOURCE_FILES
main.m
MacUpdaterAppDelegate.mm
mac_updater.cpp mac_updater.cpp
) )
set(mac_updater_HEADER_FILES set(mac_updater_HEADER_FILES
MacUpdaterAppDelegate.h
mac_updater.h
CMakeLists.txt CMakeLists.txt
) )
...@@ -36,7 +32,7 @@ list(APPEND mac_updater_SOURCE_FILES ${mac_updater_HEADER_FILES}) ...@@ -36,7 +32,7 @@ list(APPEND mac_updater_SOURCE_FILES ${mac_updater_HEADER_FILES})
set(mac_updater_RESOURCE_FILES set(mac_updater_RESOURCE_FILES
AutoUpdater.nib AutoUpdater.nib/
) )
set_source_files_properties( set_source_files_properties(
${mac_updater_RESOURCE_FILES} ${mac_updater_RESOURCE_FILES}
...@@ -52,19 +48,13 @@ add_executable(mac-updater ...@@ -52,19 +48,13 @@ add_executable(mac-updater
set_target_properties(mac-updater set_target_properties(mac-updater
PROPERTIES PROPERTIES
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/MacUpdater-Info.plist MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist
) )
find_library(COCOA_LIBRARY Cocoa)
find_library(IOKIT_LIBRARY IOKit)
target_link_libraries(mac-updater target_link_libraries(mac-updater
${LLVFS_LIBRARIES} ${LLVFS_LIBRARIES}
${OPENSSL_LIBRARIES} ${OPENSSL_LIBRARIES}
${CRYPTO_LIBRARIES} ${CRYPTO_LIBRARIES}
${COCOA_LIBRARIES}
${BOOST_FILESYSTEM_LIBRARY}
${IOKIT_LIBRARY}
${CURL_LIBRARIES} ${CURL_LIBRARIES}
${CARES_LIBRARIES} ${CARES_LIBRARIES}
${LLCOMMON_LIBRARIES} ${LLCOMMON_LIBRARIES}
...@@ -72,16 +62,10 @@ target_link_libraries(mac-updater ...@@ -72,16 +62,10 @@ target_link_libraries(mac-updater
add_custom_command( add_custom_command(
TARGET mac-updater POST_BUILD TARGET mac-updater POST_BUILD
# COMMAND ${CMAKE_COMMAND}
# ARGS
# -E
# copy_directory
# ${CMAKE_CURRENT_SOURCE_DIR}/AutoUpdater.nib
# ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mac-updater.app/Contents/Resources/AutoUpdater.nib
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}
ARGS ARGS
-E -E
copy copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/AutoUpdater.nib ${CMAKE_CURRENT_SOURCE_DIR}/AutoUpdater.nib
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mac-updater.app/Contents/Resources/AutoUpdater.nib ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mac-updater.app/Contents/Resources/AutoUpdater.nib
) )
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment