Skip to content

Commit

Permalink
Fixed application close on update
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkkis committed May 19, 2014
1 parent f828918 commit fa19798
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion HitboxDashboard/MainWindow.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions HitboxDashboard/MainWindow.vb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Public Class MainWindow

'Dim vurl As String = DownloadString("https://googledrive.com/host/0BwXzp8oa9Tx4eU93R0xUNkFHa00/version.txt")
Dim remote_ver As String = DownloadString("https://googledrive.com/host/0BwXzp8oa9Tx4eU93R0xUNkFHa00/version.txt")
Public version As Double = 20140519121500, remote_version As Double = Double.Parse(remote_ver)
Public version As Double = 20140519235300, remote_version As Double = Double.Parse(remote_ver)

Dim data, status, title, game, followers, viewers, AuthToken, buf, login, nick, pass, server, chan, settitle, setgame As String
Dim lastgame As String = "", lasttitle As String = ""
Expand Down Expand Up @@ -146,8 +146,8 @@ Public Class MainWindow
My.Computer.Network.DownloadFile("https://googledrive.com/host/0BwXzp8oa9Tx4eU93R0xUNkFHa00/Updater.exe", Application.StartupPath & "\Updater.exe")
MsgBox("New version available!")
Process.Start(Application.StartupPath & "\Updater.exe")
Application.Exit()
Return True
Close()
Else
Return False
End If
Expand Down
2 changes: 1 addition & 1 deletion HitboxDashboard/My Project/Application.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions HitboxDashboard/My Project/Application.myapp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-16"?>
<?xml version="1.0" encoding="utf-8"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>true</MySubMain>
<MainForm>MainWindow</MainForm>
<SingleInstance>false</SingleInstance>
<SingleInstance>true</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Dashbox Beta 1.1.3
Dashbox Beta 1.1.4
====================
Dashboard tool program for Hitbox.tv
==============================================
Expand Down

0 comments on commit fa19798

Please sign in to comment.