Skip to content

Commit

Permalink
Fix i-nex.gambas --gen_report
Browse files Browse the repository at this point in the history
Fix Unity Support Test
  • Loading branch information
eloaders committed Feb 9, 2012
1 parent 9fc545f commit 65a3e77
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/i-nex/.src/FReport_Gen.class
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Public Sub Button1_Click()
Reportm._generate(CheckBox1.Value, CheckBox2.Value, CheckBox3.Value, CheckBox4.Value, ButtonBox1.Text)
Reportm.desktop_support(CheckBox10.Value, ButtonBox1.Text)
Reportm.include(CheckBox6.Value, CheckBox7.Value, CheckBox8.Value, CheckBox9.Value, ButtonBox1.Text)
If (Application.Args[1] = "--gen_report") Then
Finfosys.Close
Endif
Me.Close
Endif
End
Expand All @@ -33,7 +36,9 @@ Public Sub ButtonBox1_Click()
End

Public Sub Button2_Click()

If (Application.Args[1] = "--gen_report") Then
Finfosys.Close
Endif
Me.Close

End
2 changes: 2 additions & 0 deletions src/i-nex/.src/Reportm.module
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ Public Sub include(lspci As Boolean, lsusb As Boolean, scsi As Boolean, dmesg As
End

Public Sub desktop_support(unity As Boolean, save_dir As String)
If unity = True Then
TextInfo("Include Unity Support Test")
Shell "echo '' >>" & save_dir & ""
Wait 0.1
Expand All @@ -333,6 +334,7 @@ Public Sub desktop_support(unity As Boolean, save_dir As String)
Wait 0.1
PBV(1)
TextInfo("Include Unity Support Test... ... ... ... Done")
Endif
End


Expand Down
2 changes: 2 additions & 0 deletions src/i-nex/.src/Start_App_Args.class
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Public Sub Form_Open()
Me.Close
Endif
If (Application.Args[1] = "--gen_report") Then
Finfosys.Show
Finfosys.Hide
FReport_Gen.Show
Me.Close
Endif
Expand Down

0 comments on commit 65a3e77

Please sign in to comment.