demo/tools/mac/Replay.app/Contents/MacOS/Replay.rb in cosmos-3.4.2 vs demo/tools/mac/Replay.app/Contents/MacOS/Replay.rb in cosmos-3.5.0
- old
+ new
@@ -1,15 +1,16 @@
#!/usr/bin/env ruby
# encoding: ascii-8bit
-# Copyright 2014 Ball Aerospace & Technologies Corp.
+# Copyright 2015 Ball Aerospace & Technologies Corp.
# All Rights Reserved.
#
# This program is free software; you can modify and/or redistribute it
# under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 3 with
# attribution addendums as found in the LICENSE.txt
-require 'bundler/setup' unless ENV['COSMOS_DEVEL']
-require 'cosmos'
-require 'cosmos/tools/replay/replay'
-Cosmos::Replay.run
+require_relative 'tool_launch'
+tool_launch do
+ require 'cosmos/tools/replay/replay'
+ Cosmos::Replay.run
+end