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.
- data/Rakefile +1 -1
- data/lib/six/launcher-app.rb +22 -17
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/six/launcher-app.rb
CHANGED
@@ -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.
|
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
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
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
|
|