diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-12-11 18:46:40 -0500 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2017-12-11 18:46:40 -0500 |
| commit | f6252a83c6c637d85ab7392b86a519d57957940b (patch) | |
| tree | 45bba228256db3e6dedb5c492be31f1b7a706320 /AleeOS/AleeOS Setup.vb | |
| download | AleeOS-VB-f6252a83c6c637d85ab7392b86a519d57957940b.tar.gz AleeOS-VB-f6252a83c6c637d85ab7392b86a519d57957940b.tar.bz2 AleeOS-VB-f6252a83c6c637d85ab7392b86a519d57957940b.zip | |
Diffstat (limited to 'AleeOS/AleeOS Setup.vb')
| -rw-r--r-- | AleeOS/AleeOS Setup.vb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/AleeOS/AleeOS Setup.vb b/AleeOS/AleeOS Setup.vb new file mode 100644 index 0000000..f9e064b --- /dev/null +++ b/AleeOS/AleeOS Setup.vb @@ -0,0 +1,29 @@ +Imports System +Imports System.IO +Imports System.Text +Imports System.Net.Mail + +Public Class Form3 + Public actualaleeversion As String = "0.0.1 Beta 4" + Dim cdrive As System.IO.DriveInfo + + + Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load + + cdrive = My.Computer.FileSystem.GetDriveInfo("C:\") + If My.Computer.FileSystem.DirectoryExists("C:\AleeOS") Then + If IO.File.ReadAllText("C:/AleeOS/boot.asc") = actualaleeversion Then + AleeOSDesktop.Show() + Close() + + End If + End If + End Sub + + Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click + + Form5.Show() + Me.Close() + + End Sub +End Class
\ No newline at end of file |
