Skip to content

l5n0/WinUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WinUpdater

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.

Planned

  • 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%.

Installation Guide for UpdateManagerApp

Follow these steps to download, build, and install the UpdateManagerApp on your Windows machine.

Prerequisites

Before you begin, ensure you have the following dependencies installed on your machine:

  1. Git: Used to clone the repository.

    • Download and install Git from here.
    • Verify the installation by running git --version in a command prompt.
  2. .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.

Steps to Install

Step 1: Clone the Repository

  1. Open a command prompt.

  2. Navigate to the directory where you want to clone the repository.

  3. Run the following command to clone the repository:

    git clone https://github.com/l5n0/WinUpdater.git

Step 2: Navigate to the Project Directory

Change to the project directory by running:

cd WinUpdater\UpdateManager\UpdateManagerApp

Step 3: Restore Dependencies

Restore the project dependencies by running:

dotnet restore

Step 4: Build the Project

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.

Step 5: Run the Application

  1. Navigate to the publish folder:
cd bin\Release\net8.0-windows\win-x64\publish
  1. Run the application by executing the EXE file:
.\UpdateManagerApp.exe

Step 6: (Optional) Create a Shortcut

To create a desktop shortcut for easy access, follow these steps:

  1. Open a command prompt as administrator.

  2. 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.