shenmegui 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shenmegui/core.rb +6 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76f49e57833803f7d6359cefd0ede3e57f5c492a
4
- data.tar.gz: 10ea23f6a66f9d535c7862a66e1b8df4de6aa57f
3
+ metadata.gz: 0616bc0a74fa88989396d61aa0d5b29c1b6a743a
4
+ data.tar.gz: 3e69d038102eed7384925e33f47c989336eae7c7
5
5
  SHA512:
6
- metadata.gz: 0d87c7220e9d410870899e94651ac8b8c3d74b7964a034770eec0d308378698ba303adc05bb8cb984d2cf91db8ca0629bfcf7733d55dbbf547b9aac24dfe0d62
7
- data.tar.gz: 29c16632cd4ddde9e85c850944171737456e5a4ed6a04473db3cb3a0d0ef46e87cd04c095618ac75c657224506832965effa803b060d90190eadd6430d9ab44c
6
+ metadata.gz: 5267a28ac71496fe58da7bbe085f04223f79842d07cd3883a0823ce2501818a6d5cc6a3d58ef0017339b24934043c0a5f8e674a317559037ab663350c574e609
7
+ data.tar.gz: 51a3dacd5dbb893fea43c17184e361c6a13d6b8f6f726171cd099ab3890b163bbf29d2bf69f12952c5ebce64dc68fb3a3031f43e5b629f4f9f607e2d7fe7247f
@@ -87,9 +87,12 @@ module ShenmeGUI
87
87
  end
88
88
  end
89
89
 
90
- index_path = "#{Dir.pwd}/index.html"
91
- `start file:///#{index_path}`
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~'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenmegui
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.3'
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CicholGricenchos