Skip to content

Commit

Permalink
1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketLauncher21 committed Jul 18, 2023
1 parent 856e384 commit e91a5cf
Show file tree
Hide file tree
Showing 15 changed files with 620 additions and 187 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/AppInstaller/v17/.suo
Binary file not shown.
12 changes: 12 additions & 0 deletions AppInstaller.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="Resources\org.prismlauncher.PrismLauncher.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Epic_games_store_logo.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\android-icon-192x192.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Steam_icon_logo1.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets" Condition="Exists('packages\Microsoft.Web.WebView2.1.0.1823.32\build\Microsoft.Web.WebView2.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down
581 changes: 409 additions & 172 deletions Form1.Designer.cs

Large diffs are not rendered by default.

146 changes: 139 additions & 7 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private async void button1_Click(object sender, EventArgs c)
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/e25e63b7-e29e-4c86-bd45-e7d683b9a2bd/MicrosoftEdgeEnterpriseX64.msi"), downloadpath);
button1.Text = "Installing...";
var process = Process.Start(downloadpath);
var process = Process.Start(downloadpath, "/qn");
process.WaitForExit();
progressBar1.Visible = false;
button1.Text = "Installed";
Expand Down Expand Up @@ -137,7 +137,7 @@ private async void button2_Click(object sender, EventArgs e)
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7BA2AFEE09-00D4-4A6E-BFAB-365F04535F02%7D%26lang%3Den%26browser%3D5%26usagestats%3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dtrue%26ap%3Dx64-stable-statsdef_0%26brand%3DGCEA/dl/chrome/install/googlechromestandaloneenterprise64.msi"), downloadpath);
button1.Text = "Installing...";
var process = Process.Start(downloadpath);
var process = Process.Start(downloadpath,"/qn");
process.WaitForExit();
progressBar1.Visible = false;
button1.Text = "Installed";
Expand All @@ -156,7 +156,7 @@ private async void button3_Click(object sender, EventArgs e)
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-US&_gl=1*1r8hyod*_ga*MjAzODg4MzkwNi4xNjg5NTg5MzMx*_ga_MQ7767QQQW*MTY4OTU4OTMzMC4xLjEuMTY4OTU4OTM2OS4wLjAuMA.."), downloadpath);
button3.Text = "Installing...";
var process = Process.Start(downloadpath);
var process = Process.Start(downloadpath, "/qn");
process.WaitForExit();
progressBar1.Visible = false;
button3.Text = "Installed";
Expand Down Expand Up @@ -266,7 +266,7 @@ private async void button16_Click(object sender, EventArgs e)
wait(5000);
button16.Text = "Update";
button15.Visible = true;
}
}

private void button11_Click(object sender, EventArgs e)
{
Expand All @@ -280,6 +280,26 @@ private void button11_Click(object sender, EventArgs e)
button12.Text = "Install";
}

private async void button14_Click(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
string downloadpath = appinstallerfiles + "\\Revolt.exe";
progressBar1.Visible = true;
button14.Text = "Downloading...";
WebClient client = new WebClient();
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://objects.githubusercontent.com/github-production-release-asset-2e65be/391639107/426175ce-7e09-4c83-b41c-7c1bfe205dfe?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230717%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230717T181612Z&X-Amz-Expires=300&X-Amz-Signature=f0202f58689a2838a838f71c9e5792370db31dcf1ef5fcabbaf9ef1543b2614b&X-Amz-SignedHeaders=host&actor_id=68105821&key_id=0&repo_id=391639107&response-content-disposition=attachment%3B%20filename%3DRevolt-Setup-1.0.6.exe&response-content-type=application%2Foctet-stream"), downloadpath);
button14.Text = "Installing...";
var process = Process.Start(downloadpath, "-s");
process.WaitForExit();
progressBar1.Visible = false;
button14.Text = "Installed";
wait(5000);
button14.Text = "Update";
button13.Visible = true;

}

private void button13_Click(object sender, EventArgs e)
{
//Revolt uninstall
Expand Down Expand Up @@ -312,8 +332,8 @@ private void checkBox1_CheckedChanged(object sender, EventArgs e)
this.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
Settings.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
Utilities.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
tabPage1.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
tabPage2.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
Browsers.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
ChatApps.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
TabControl.BackColor = System.Drawing.ColorTranslator.FromHtml("#010000");
EnableBlur();
label1.ForeColor = Color.White;
Expand All @@ -327,7 +347,14 @@ private void checkBox1_CheckedChanged(object sender, EventArgs e)
label9.ForeColor = Color.White;
label10.ForeColor = Color.White;
label11.ForeColor = Color.White;
} else
label12.ForeColor = Color.White;
label13.ForeColor = Color.White;
label14.ForeColor = Color.White;
label15.ForeColor = Color.White;
checkBox1.ForeColor = Color.White;
checkBox2.ForeColor = Color.White;
}
else
{
Application.Restart();
Exit(0);
Expand All @@ -339,5 +366,110 @@ private void checkBox2_CheckedChanged(object sender, EventArgs e)
{

}

private async void button24_Click(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
string downloadpath = appinstallerfiles + "\\SteamSetup.exe";
progressBar1.Visible = true;
button24.Text = "Downloading...";
WebClient client = new WebClient();
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://cdn.akamai.steamstatic.com/client/installer/SteamSetup.exe"), downloadpath);
button24.Text = "Installing...";
var process = Process.Start(downloadpath, "/S");
process.WaitForExit();
progressBar1.Visible = false;
button24.Text = "Installed";
wait(5000);
button24.Text = "Update";
button23.Visible = true;

}

private void button23_Click(object sender, EventArgs e)
{
// only works on x64 systems, needs fix
string uninst = GetEnvironmentVariable("ProgramFiles(x86)") + "\\Steam\\uninstall.exe";
button23.Text = "Uninstalling...";
var process = Process.Start(uninst, "/S");
process.WaitForExit();
button23.Text = "Uninstalled";
wait(5000);
button23.Visible = false;
button21.Text = "Install";
}

private async void button22_Click(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
string downloadpath = appinstallerfiles + "\\GOGGalaxy.exe";
progressBar1.Visible = true;
button22.Text = "Downloading...";
WebClient client = new WebClient();
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://webinstallers.gog-statics.com/download/GOG_Galaxy_2.0.exe"), downloadpath);
button22.Text = "Installing...";
var process = Process.Start(downloadpath, "/S");
process.WaitForExit();
progressBar1.Visible = false;
button22.Text = "Installed";
wait(5000);
button22.Text = "Update";
button21.Visible = true;
}

private void button21_Click(object sender, EventArgs e)
{
// GOG Galaxy uninstall
}

private async void button20_Click(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
string downloadpath = appinstallerfiles + "\\EpicGamesLauncher.msi";
progressBar1.Visible = true;
button20.Text = "Downloading...";
WebClient client = new WebClient();
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"), downloadpath);
button20.Text = "Installing...";
var process = Process.Start(downloadpath, "/qn");
process.WaitForExit();
progressBar1.Visible = false;
button20.Text = "Installed";
wait(5000);
button20.Text = "Update";
button19.Visible = true;
}

private void button19_Click(object sender, EventArgs e)
{
// Epic Games uninstaller
}

private async void button18_Click(object sender, EventArgs e)
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
string downloadpath = appinstallerfiles + "\\PrismLauncher.exe";
progressBar1.Visible = true;
button22.Text = "Downloading...";
WebClient client = new WebClient();
client.DownloadProgressChanged += DownloadProgress;
await client.DownloadFileTaskAsync(new Uri("https://github.com/PrismLauncher/PrismLauncher/releases/download/7.1/PrismLauncher-Windows-MSVC-Setup-7.1.exe"), downloadpath);
button22.Text = "Installing...";
var process = Process.Start(downloadpath, "/qn");
process.WaitForExit();
progressBar1.Visible = false;
button22.Text = "Installed";
wait(5000);
button22.Text = "Update";
button21.Visible = true;
}

private void button17_Click(object sender, EventArgs e)
{
// Prism Launcher uninstaller
}
}
}
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
40 changes: 40 additions & 0 deletions Properties/Resources.Designer.cs

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

24 changes: 18 additions & 6 deletions Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -124,22 +124,34 @@
<data name="Firefox_logo,_2019.svg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Firefox_logo,_2019.svg.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="element" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\element.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="636e0a6a49cf127bf92de1e2_icon_clyde_blurple_RGB" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\636e0a6a49cf127bf92de1e2_icon_clyde_blurple_RGB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Google_Chrome_icon_(February_2022).svg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Google_Chrome_icon_(February_2022).svg.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="revoltlogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\revoltlogo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Google_Chrome_icon_(February_2022).svg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Google_Chrome_icon_(February_2022).svg.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Telegram_2019_Logo.svg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Telegram_2019_Logo.svg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Microsoft_Edge_logo_(2019)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Microsoft_Edge_logo_(2019).png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Telegram_2019_Logo.svg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Telegram_2019_Logo.svg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="org.prismlauncher.PrismLauncher" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\org.prismlauncher.PrismLauncher.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="element" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\element.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="Epic_games_store_logo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Epic_games_store_logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="android-icon-192x192" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\android-icon-192x192.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Steam_icon_logo1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Steam_icon_logo1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
Binary file added Resources/Epic_games_store_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/Steam_icon_logo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/android-icon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/org.prismlauncher.PrismLauncher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Remove this element if your application requires this virtualization for backwards
compatibility.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
Expand Down

0 comments on commit e91a5cf

Please sign in to comment.