mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
- It contains its own copy of Sparkle.strings and SUUpdateStatus.nib so it can show its progress prettier - We call TransformProcessType() before our first call to [NSApplication sharedApplication], so we can be launched as a command line tool and get a proper window server connection, and so our progress bars animate. - We still support the old "relaunch"-style mode of operation, just by not passing the folder to install. This is useful for other relaunch occasions, like setting one's own dock icon flag. - To do: Make sample app use the new finish_installation.
10 lines
268 B
Bash
Executable File
10 lines
268 B
Bash
Executable File
#/bin/bash
|
|
|
|
MY_PATH="`dirname $0`"
|
|
cd "$MY_PATH/../"
|
|
|
|
xcodebuild -project Sparkle.xcodeproj -target finish_installation -configuration Release build
|
|
|
|
cd "$MY_PATH/../build/Release/"
|
|
|
|
/usr/bin/tar -czf "$MY_PATH/finish_installation.app.tar.gz" "finish_installation.app" |