shenmegui 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shenmegui/core.rb +6 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0616bc0a74fa88989396d61aa0d5b29c1b6a743a
|
4
|
+
data.tar.gz: 3e69d038102eed7384925e33f47c989336eae7c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5267a28ac71496fe58da7bbe085f04223f79842d07cd3883a0823ce2501818a6d5cc6a3d58ef0017339b24934043c0a5f8e674a317559037ab663350c574e609
|
7
|
+
data.tar.gz: 51a3dacd5dbb893fea43c17184e361c6a13d6b8f6f726171cd099ab3890b163bbf29d2bf69f12952c5ebce64dc68fb3a3031f43e5b629f4f9f607e2d7fe7247f
|
data/lib/shenmegui/core.rb
CHANGED
@@ -87,9 +87,12 @@ module ShenmeGUI
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
-
|
91
|
-
|
92
|
-
|
90
|
+
begin
|
91
|
+
index_path = "#{Dir.pwd}/index.html"
|
92
|
+
`start file:///#{index_path}`
|
93
|
+
rescue
|
94
|
+
end
|
95
|
+
|
93
96
|
ws_thread.join
|
94
97
|
rescue Interrupt
|
95
98
|
puts 'bye~'
|