GithubHelp home page GithubHelp logo

bytebane / winget-appup Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

Upgrade and install your favorite Windows applications with ease! WingetAppUp leverages the power of winget to automate these tasks, keeping your software up-to-date and saving you valuable time.

License: ISC License

PowerShell 100.00%

winget-appup's Introduction

WingetAppUp: Manage Your Windows Apps Effortlessly

    Upgrade and install your favorite Windows applications with ease! WingetAppUp leverages the power of winget to automate these tasks, keeping your software up-to-date and saving you valuable time.

Key Features

  • Automatic Installation & Updates: Finds and installs missing applications or applies updates to existing ones as per your configuration.
  • Unattended Operation: Run the script once, and it handles everything in the background, displaying progress messages in the console.
  • Simple Configuration: Customize the applications you want to manage through the user-friendly apps.json configuration file.
  • Security-Focused: WingetAppUp utilizes the official winget package manager, ensuring safe and reliable updates from trusted sources.

Getting Started

Prerequisites

  • Windows 10 or Later: Ensure your system is running Windows 10 or a newer version.
  • winget Installed: Check if winget is installed on your system with winget, if not, download winget from Microsoft Store and install it (learn.microsoft.com).
  • Administrative Privileges: Run PowerShell as Administrator for complete functionality.

Configuration

1. Locate apps.json: This file specifies the applications you want to manage.

2. Edit apps.json: Add the application IDs (found in the Microsoft Store) of the apps you want WingetAppUp to handle.

Example apps.json:

{
    "apps": [
        "Google.Chrome",
        "Mozilla.Firefox",
        "7zip.7zip",
        ...
    ]
}

Note: Run the winget upgrade command to get the list of applications Ids with updates.

Usage

  • Open PowerShell (Admin): Press Win + X, select Windows PowerShell (Admin) or Windows Terminal (Admin) or Terminal (Admin) and click Yes for User Account Control (UAC).

  • Navigate to Project Directory: Use the cd command to reach the directory containing the script.

    cd 'C:\path\to\winget-appup'
  • Run the Script: Execute the script

    .\script.ps1

Script Functionality

  • winget Check: Verifies winget installation; exits with an error message if not found.
  • winget Update (Optional): Ensures winget itself is up-to-date before proceeding. (This functionality remains in the script for potential future updates.)
  • Read App List: Retrieves application IDs for update/installation from apps.json.
  • Smart App Management:
    • Installs applications not found on your system.
    • Updates existing applications with the latest versions.
  • Progress Messages: Displays clear messages in the console to keep you informed.

Troubleshooting

  • Ensure winget is installed and accessible in PowerShell.
  • Verify the apps.json file is formatted correctly and located in the same directory as the script.
  • Confirm you are running PowerShell with administrative privileges.

Resources

For more information on winget and its capabilities, refer to the official documentation

WingetAppUp - Streamline your Windows application updates and keep your software fresh!

winget-appup's People

Contributors

bytebane avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.