Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dirty hack cos Launchy Windows support seems to be broken

  • Loading branch information...
commit e530ed8b35edf5f4f39d220bf4502d9d443ed1e4 1 parent 9097ad9
@jphastings authored
Showing with 7 additions and 2 deletions.
  1. +1 −1  VERSION
  2. +6 −1 lib/thimblr.rb
View
2  VERSION
@@ -1 +1 @@
-0.9.1
+0.9.2
View
7 lib/thimblr.rb
@@ -63,7 +63,12 @@ def self.parse_config(s)
enable :sessions
set :bind, '127.0.0.1'
- Launchy.open("http://localhost:#{port}")
+ # Dirty hack cos Windows support in Launchy appears to be broken
+ if Platform == 'win'
+ `start http://localhost:#{port}`
+ else
+ Launchy.open("http://localhost:#{port}")
+ end
end
helpers do
Please sign in to comment.
Something went wrong with that request. Please try again.