six-launcher 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/six/launcher-app.rb +22 -17
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-launcher'
15
- s.version = '0.1.0'
15
+ s.version = '0.1.1'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
@@ -9,7 +9,7 @@ require 'win32/process'
9
9
  class Setup
10
10
  RUBY = "tools/ruby/bin/ruby.exe"
11
11
  GEM = "tools/ruby/bin/gem"
12
- VERSION = "0.1.0"
12
+ VERSION = "0.1.1"
13
13
  #include Singleton
14
14
 
15
15
  BASE_PATH = if ENV['OCRA_EXECUTABLE']
@@ -70,6 +70,7 @@ class Setup
70
70
  puts "Updating Ruby Gems"
71
71
  system "#{RUBY} #{GEM} install *.gem" if Dir["*.gem"].size > 0
72
72
  system "#{RUBY} #{GEM} update"
73
+ system "#{RUBY} #{GEM} clean"
73
74
  end
74
75
 
75
76
  def start_updater_web(cl = nil)
@@ -139,22 +140,26 @@ class Setup
139
140
 
140
141
  def options
141
142
  puts
142
- puts "Launcher application v#{VERSION} by Sickboy"
143
- puts "WARNING: If you use Windows Vista/7 with UAC,"
144
- puts "please make sure you run this program 'As Administrator'"
145
- puts "-----"
146
- puts "1 - Start updater-web"
147
- puts "2 - Start updater"
148
- puts "21 - Start updater, --install --startgame"
149
- puts "22 - Start updater, --install --join"
150
- puts "23 - Start updater, --startgame"
151
- puts "24 - Start updater, --join"
152
- puts "51 - Start updater-web on public interface"
153
- puts "-----"
154
- puts "100 - Install/Update Ruby"
155
- puts "101 - Install/Update Ruby Gems"
156
- puts
157
- puts "Please enter your choice and press enter. Or press CTRL+C to abort"
143
+ puts <<BEGIN
144
+ Launcher application v#{VERSION} by Sickboy
145
+ WARNING: If you use Windows Vista/7 with UAC,
146
+ please make sure you run this program 'As Administrator'
147
+ -----
148
+ 1 - Start updater-web
149
+ 2 - Start updater
150
+ -----
151
+ 21 - Start updater, --install --startgame
152
+ 22 - Start updater, --install --join
153
+ 23 - Start updater, --startgame
154
+ 24 - Start updater, --join
155
+ -----
156
+ 51 - Start updater-web on public interface
157
+ -----
158
+ 100 - Install/Update Ruby
159
+ 101 - Install/Update Ruby Gems
160
+
161
+ Please enter your choice and press enter. Or press CTRL+C to abort
162
+ BEGIN
158
163
  end
159
164
  end
160
165
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ""