This is a simple PowerShell script that will allow you to update your YimMenu without having to check for and download a newer version each time.
All you have to do is to run the Yim-AutoUpdater.ps1
by Right Clicking on it and selecting "Run with PowerShell"
or open a PowerShell window and run the script.
The script will check for the latest version of YimMenu and download it if it's not already installed.
If you get an error when you run the script, such as "\yim-autoupdater.ps1 cannot be loaded because running scripts is disabled on this system"
, you can fix this by running the following command in PowerShell:
You can change the execution policy only for the current PowerShell session. It does not affect the system-wide execution policy:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
You can permanently change the run policy for all PowerShell sessions. Open a PowerShell window with the 'Run as administrator' option selected, and run:
Set-ExecutionPolicy RemoteSigned
You can also bypass the execution policy at run-time with this command:
powershell.exe -ExecutionPolicy Bypass -File "C:\FILE\LOCATION\Yim-AutoUpdater.ps1"
These setting enables the execution of both locally written unsigned scripts and signed scripts from the internet.
Set-ExecutionPolicy Restricted
If you have any feedback or suggestions, feel free to open an issue on the GitHub Yim-AutoUpdater Issues page.
You can download the latest version of Yim-AutoUpdater from the Releases page.
- Check for updates on a schedule
- Check for updates on startup
- Change download location
- Don't replace the old version (keep both)