Skip to content

Commit

Permalink
Indexextract 3.0...4
Browse files Browse the repository at this point in the history
- New update system(When CDN server is on, perform automatic updates.)
  • Loading branch information
dhkim0800 committed Apr 28, 2017
1 parent 9346f42 commit 966ea3f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
3 changes: 2 additions & 1 deletion indexextract/Form1.Designer.vb

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

3 changes: 0 additions & 3 deletions indexextract/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,4 @@
<metadata name="Dotdotdot.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>646, 17</value>
</metadata>
<metadata name="infott.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>251, 17</value>
</metadata>
</root>
28 changes: 24 additions & 4 deletions indexextract/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
End Sub

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If My.Computer.FileSystem.FileExists("ieup.exe") Then
My.Computer.FileSystem.DeleteFile("ieup.exe")
End If

'언어설정은 한국인만 받아요
If Not System.Globalization.CultureInfo.CurrentCulture.IetfLanguageTag = "ko-KR" Then
Button4.Visible = False
Expand Down Expand Up @@ -188,6 +192,7 @@
'툴팁 설정
infott.SetToolTip(Button2, "100% free!! Use it right now!")
infott.SetToolTip(Label12, "Only supported in some countries.")
infott.SetToolTip(Button7, "Info : When connecting to the CDN server, perform automatic updates.")
'상태 표시 설정
Label9.Text = "Critical
(No file)"
Expand Down Expand Up @@ -224,6 +229,7 @@
'툴팁 설정
infott.SetToolTip(Button2, "100% 무료입니다!! 지금 바로 추출해보세요!")
infott.SetToolTip(Label12, "한국 윈도우 사용자에게만 지원되는 기능입니다.")
infott.SetToolTip(Button7, "안내 : CDN 서버에 연결할 수 있을때는 자동 업데이트를 실시합니다.")
'상태 표시 설정
Label9.Text = "오류
(파일 없음)"
Expand Down Expand Up @@ -399,11 +405,25 @@ b:
Else
vvr = dev
End If
If vvr = dev Then
Process.Start(dl)
ElseIf vvr = rel Then
Process.Start(rl)
If My.Computer.Network.Ping("cdn.userapps.net") Then
My.Computer.Network.DownloadFile("http://cdn.userapps.net/indexextract/update/auto.exe", "ieup.exe")
If vvr = dev Then
My.Computer.FileSystem.WriteAllText("ieu.txt", "http://cdn.userapps.net/indexextract/update/ldev.exe", False)
My.Computer.FileSystem.WriteAllText("iel.txt", Application.ExecutablePath, False)
ElseIf vvr = rel Then
My.Computer.FileSystem.WriteAllText("ieu.txt", "http://cdn.userapps.net/indexextract/update/lrel.exe", False)
My.Computer.FileSystem.WriteAllText("iel.txt", Application.ExecutablePath, False)
End If
My.Computer.FileSystem.WriteAllText("iee.txt", IO.Path.GetFileName(Application.ExecutablePath), False)
Process.Start("ieup.exe")
Else
If vvr = dev Then
Process.Start(dl)
ElseIf vvr = rel Then
Process.Start(rl)
End If
End If

End Sub

Private Sub Label1_Click(sender As Object, e As EventArgs)
Expand Down
4 changes: 2 additions & 2 deletions uc.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<update>
<project>indexextract</project>
<dev>Index Extractor 3.0...3</dev>
<dev>Index Extractor 3.0...4</dev>
<rel>Index Extractor 2.4</rel>
<dl>https://github.com/dhkim0800/indexextract/releases/3.0b3</dl>
<dl>https://github.com/dhkim0800/indexextract/releases/3.0b4</dl>
<rl>https://github.com/dhkim0800/indexextract/releases/latest</rl>
</update>

0 comments on commit 966ea3f

Please sign in to comment.