Browse files

Look in tmp for gosu downloads if not specified

  • Loading branch information...
1 parent ec923aa commit 1f42e30b63d21a8e56c648f538bf997adc71a19e @shawn42 committed Feb 21, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 templates/app/Rakefile
View
3 templates/app/Rakefile
@@ -29,7 +29,8 @@ Releasy::Project.new do
# Create a variety of releases, for all platforms.
add_build :osx_app do
url "io.gamebox.my_game"
- wrapper "#{ENV['GOSU_DOWNLOADS']}/gosu-mac-wrapper-0.7.47.tar.gz"
+ gosu_downloads = ENV['GOSU_DOWNLOADS'] || "#{ENV['HOME']}/tmp"
+ wrapper "#{gosu_downloads}/gosu-mac-wrapper-0.7.47.tar.gz"
add_package :tar_gz
end

0 comments on commit 1f42e30

Please sign in to comment.