Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit c523f92

Browse files
committed
Maked some changes and Fixes on the UI.
2 parents 01a0f06 + 01e3640 commit c523f92

File tree

4 files changed

+100
-11
lines changed

4 files changed

+100
-11
lines changed

Minecraft Launch Script/Form1.Designer.vb

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Minecraft Launch Script/Form1.vb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
55
rs.FindAllControls(Me)
66
mediaPlayer.Play()
7-
Button5.Enabled = False
8-
Button2.Enabled = False
97
Shell("explorer.exe shell:appsFolder\Microsoft.MinecraftUWP_8wekyb3d8bbwe!App")
108
Threading.Thread.Sleep(3000) 'This basically slows down our program, and the main windows gets time to load after 3 sec after the minecraft gets loaded, if this lines is removed the program does'nt works correctly.
119
Dim myProcess() As Process = Process.GetProcessesByName("Minecraft.Windows")
@@ -15,8 +13,11 @@
1513
Shell("taskkill /F /IM Minecraft.Windows.exe")
1614
Label3.Font = New Font("Segoe UI", 20)
1715
Label3.Visible = True
16+
Button5.Enabled = False
17+
Button2.Enabled = False
1818
Label3.Text = "Installed"
1919
Label3.ForeColor = Color.Lime
20+
Me.Refresh()
2021
Else
2122
'Process is not running
2223
Button5.Enabled = False
@@ -26,6 +27,7 @@
2627
Label3.Visible = True
2728
Label3.Text = "Not Installed"
2829
Label3.ForeColor = Color.Red
30+
Me.Refresh()
2931
End If
3032
End Sub
3133

@@ -61,6 +63,7 @@
6163
Label2.ForeColor = Color.Lime
6264
Button6.Enabled = False
6365
Button8.Enabled = False
66+
Me.Refresh()
6467
End Sub
6568

6669
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
@@ -78,6 +81,7 @@
7881
Label2.ForeColor = Color.Red
7982
Button6.Enabled = True
8083
Button8.Enabled = True
84+
Me.Refresh()
8185
End If
8286
End Sub
8387

@@ -147,6 +151,7 @@
147151
Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click
148152
Process.Start("bin/resetsvcstatus.bat")
149153
Button6.Enabled = False
154+
Me.Refresh()
150155
End Sub
151156

152157
Private Sub PictureBox1_Click(sender As Object, e As EventArgs) Handles PictureBox1.Click
@@ -180,4 +185,5 @@ Note: If You Restart The Launcher The Game Will Also Close Along With The Launch
180185
Private Sub Button8_MouseLeave(sender As Object, e As EventArgs) Handles Button8.MouseLeave
181186
Me.Button8.BackColor = Control.DefaultBackColor
182187
End Sub
188+
183189
End Class

Minecraft Launch Script/Minecraft Launch Script.vbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
1111
<ApplicationIcon>minecraft_94415.ico</ApplicationIcon>
1212
<SignAssembly>true</SignAssembly>
13-
<AssemblyOriginatorKeyFile>sahilbhandari.pfx</AssemblyOriginatorKeyFile>
13+
<AssemblyOriginatorKeyFile>sahilsign.pfx</AssemblyOriginatorKeyFile>
1414
<Version>1.0.0</Version>
1515
<Authors>Sahil Bhandari</Authors>
1616
<Description>Minecraft For Windows Trial Bypass.</Description>
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>net5.0-windows</TargetFramework>
6+
<RootNamespace>Minecraft_Launch_Script</RootNamespace>
7+
<StartupObject>Sub Main</StartupObject>
8+
<UseWindowsForms>true</UseWindowsForms>
9+
<MyType>WindowsForms</MyType>
10+
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
11+
<ApplicationIcon>minecraft_94415.ico</ApplicationIcon>
12+
<SignAssembly>true</SignAssembly>
13+
<AssemblyOriginatorKeyFile>sahilbhandari.pfx</AssemblyOriginatorKeyFile>
14+
<Version>1.0.0</Version>
15+
<Authors>Sahil Bhandari</Authors>
16+
<Description>Minecraft For Windows Trial Bypass.</Description>
17+
<Copyright>Sahil Bhandari</Copyright>
18+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
19+
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
20+
</PropertyGroup>
21+
22+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
23+
<Optimize>true</Optimize>
24+
<PlatformTarget>AnyCPU</PlatformTarget>
25+
<WarningLevel>1</WarningLevel>
26+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
27+
</PropertyGroup>
28+
29+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
30+
<PlatformTarget>AnyCPU</PlatformTarget>
31+
<Optimize>false</Optimize>
32+
<WarningLevel>1</WarningLevel>
33+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
34+
</PropertyGroup>
35+
36+
<ItemGroup>
37+
<Import Include="System.Data" />
38+
<Import Include="System.Drawing" />
39+
<Import Include="System.Windows.Forms" />
40+
</ItemGroup>
41+
42+
<ItemGroup>
43+
<Compile Update="My Project\Application.Designer.vb">
44+
<DesignTime>True</DesignTime>
45+
<AutoGen>True</AutoGen>
46+
<DependentUpon>Application.myapp</DependentUpon>
47+
</Compile>
48+
<Compile Update="My Project\Resources.Designer.vb">
49+
<DesignTime>True</DesignTime>
50+
<AutoGen>True</AutoGen>
51+
<DependentUpon>Resources.resx</DependentUpon>
52+
</Compile>
53+
<Compile Update="My Project\Settings.Designer.vb">
54+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
55+
<AutoGen>True</AutoGen>
56+
<DependentUpon>Settings.settings</DependentUpon>
57+
</Compile>
58+
</ItemGroup>
59+
60+
<ItemGroup>
61+
<EmbeddedResource Update="My Project\Resources.resx">
62+
<CustomToolNamespace>My.Resources</CustomToolNamespace>
63+
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
64+
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
65+
</EmbeddedResource>
66+
</ItemGroup>
67+
68+
<ItemGroup>
69+
<None Update="My Project\Application.myapp">
70+
<Generator>MyApplicationCodeGenerator</Generator>
71+
<LastGenOutput>Application.Designer.vb</LastGenOutput>
72+
</None>
73+
<None Update="My Project\Settings.settings">
74+
<CustomToolNamespace>My</CustomToolNamespace>
75+
<Generator>SettingsSingleFileGenerator</Generator>
76+
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
77+
</None>
78+
</ItemGroup>
79+
80+
</Project>

0 commit comments

Comments
 (0)