diff --git a/Bootstrap-ArcDPS.ps1 b/Bootstrap-ArcDPS.ps1 index 64c2445..80a129a 100644 --- a/Bootstrap-ArcDPS.ps1 +++ b/Bootstrap-ArcDPS.ps1 @@ -1,7 +1,7 @@ <# Run this with the following: -powershell -c "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; ; iex(New-Object Net.WebClient).DownloadString('https://github.com/solacelost/update-arcdps/raw/0.4.4/Bootstrap-ArcDPS.ps1')" +powershell -c "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; ; iex(New-Object Net.WebClient).DownloadString('https://github.com/solacelost/update-arcdps/raw/0.4.5/Bootstrap-ArcDPS.ps1')" #> -$installing_version = '0.4.4' +$installing_version = '0.4.5' Add-Type -AssemblyName System.Windows.Forms diff --git a/Update-ArcDPS.ps1 b/Update-ArcDPS.ps1 index 9e866a8..57a0830 100644 --- a/Update-ArcDPS.ps1 +++ b/Update-ArcDPS.ps1 @@ -41,10 +41,11 @@ .NOTES Name: Update-ArcDPS.ps1 Author: James Harmison - SCRIPT VERSION: 0.4.4 + SCRIPT VERSION: 0.4.5 Requires: Powershell v5 or higher. Version History: + 0.4.5 - Corrected path problems with update shortcut 0.4.4 - Corrected a plethora of various bugs during implementation of new directory location features' 0.4.3 - Provided the ability to choose a directory to install Update-ArcDPS @@ -126,7 +127,7 @@ param ( [string]$SearchPath="C:\Program F*" ) -$scriptversion = '0.4.4' +$scriptversion = '0.4.5' $needsupdate = $false $StateFile = Join-Path "$InstallDirectory" update_arcdps.xml diff --git a/docs/README.md b/docs/README.md index 8aec3b0..d091605 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,7 +19,7 @@ Some of my guild mates had a hard time downloading ArcDPS or remembering how to ![Right Clicking Run](./docs_run.png) 2. Copy the following and paste it into the "Open:" text box: ``` - powershell -c "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; ; iex(New-Object Net.WebClient).DownloadString('https://github.com/solacelost/update-arcdps/raw/0.4.4/Bootstrap-ArcDPS.ps1')" + powershell -c "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; ; iex(New-Object Net.WebClient).DownloadString('https://github.com/solacelost/update-arcdps/raw/0.4.5/Bootstrap-ArcDPS.ps1')" ```` ![Run Dialog](./docs_run2.png) @@ -30,7 +30,7 @@ Some of my guild mates had a hard time downloading ArcDPS or remembering how to ### The auditable way 1. Download the latest Release from [the releases page](https://github.com/solacelost/update-arcdps/releases). 1. Unzip it to the directory of your choice - the location doesn't matter, but you need to ensure you set `-InstallLocation` to match where you've unzipped it. -1. Review the script on your computer to ensure you're okay with what it does - you only need the Update-ArcDPS.ps1 script, not the Bootstrap. You can reach it via the [raw URL](https://raw.githubusercontent.com/solacelost/update-arcdps/0.4.4/Update-ArcDPS.ps1) and copy/paste, if you like. +1. Review the script on your computer to ensure you're okay with what it does - you only need the Update-ArcDPS.ps1 script, not the Bootstrap. You can reach it via the [raw URL](https://raw.githubusercontent.com/solacelost/update-arcdps/0.4.5/Update-ArcDPS.ps1) and copy/paste, if you like. 1. Open a PowerShell window with the -executionpolicy Bypass option set and run the script with -CreateShortcut: 1. Suppose you unzipped Update-ArcDPS.ps1 to your Desktop on the user named James. 1. Right click on your Start button and click "Run", or press Ctrl+R on your keyboard.