Windows Updater
Please don't be so hard on me this is my first software.
I built this application so that people can update the applications they have to the latest version. At the moment it works, but the GUI doesn't look good. This will be the next step to make the GUI usable.
- Fixing the buttons
- Some buttons have the problem of not working or working very slowly.
- Fix the UI
- Make a more interactive UI with some data
- Maybe something like "TreeSize" not 100%.
Follow these steps to download, build, and install the UpdateManagerApp on your Windows machine.
Before you begin, ensure you have the following dependencies installed on your machine:
-
Git: Used to clone the repository.
- Download and install Git from here.
- Verify the installation by running
git --version
in a command prompt.
-
.NET SDK: Required to build the application.
- Download and install the .NET SDK from here.
- Verify the installation by running
dotnet --version
in a command prompt.
-
Open a command prompt.
-
Navigate to the directory where you want to clone the repository.
-
Run the following command to clone the repository:
git clone https://github.com/l5n0/WinUpdater.git
Change to the project directory by running:
cd WinUpdater\UpdateManager\UpdateManagerApp
Restore the project dependencies by running:
dotnet restore
Build the project by running:
dotnet publish -c Release -r win-x64 --self-contained
This will create a self-contained executable in the publish
folder.
- Navigate to the publish folder:
cd bin\Release\net8.0-windows\win-x64\publish
- Run the application by executing the EXE file:
.\UpdateManagerApp.exe
To create a desktop shortcut for easy access, follow these steps:
-
Open a command prompt as administrator.
-
Run the following PowerShell command to create a shortcut on the desktop:
$WScriptShell = New-Object -ComObject WScript.Shell
$desktopPath = [System.IO.Path]::Combine([System.Environment]::GetFolderPath("Desktop"), "UpdateManagerApp.lnk")
$shortcut = $WScriptShell.CreateShortcut($desktopPath)
$shortcut.TargetPath = "$pwd\UpdateManagerApp.exe"
$shortcut.WorkingDirectory = "$pwd"
$shortcut.Save()
Ensure that you are in the publish
folder when running this command, so $pwd
points to the correct location of UpdateManagerApp.exe.