publish install.ps1
This commit is contained in:
parent
36134f7223
commit
e2a7ae4a75
1 changed files with 6 additions and 6 deletions
12
install.ps1
12
install.ps1
|
|
@ -4,10 +4,10 @@
|
|||
One-liner (PowerShell):
|
||||
irm https://git.armoredarmadillo.com/brockdarnold/eve-watcher/raw/branch/main/install.ps1 | iex
|
||||
|
||||
This is now just a thin bootstrap: it git-clones the watcher repo into
|
||||
%USERPROFILE%\eve-watcher (or pulls if already there) and runs update.py.
|
||||
After this, the ONLY command you ever need to update is:
|
||||
cd ~\eve-watcher ; python update.py
|
||||
Paste it ONCE and you're done forever: it git-clones the watcher repo into
|
||||
%USERPROFILE%\eve-watcher, runs update.py, and update.py registers a Windows
|
||||
Scheduled Task that auto-updates + restarts the watchers at every logon and
|
||||
once a day. You never have to install or update again.
|
||||
Your config.ini (webhook + OCR snip) is gitignored, so updates never touch it.
|
||||
#>
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
@ -36,5 +36,5 @@ python update.py
|
|||
|
||||
Write-Host ""
|
||||
Write-Host "Installed at $dir."
|
||||
Write-Host "From now on, update with: cd $dir ; python update.py"
|
||||
Write-Host "One-time (per PC) for OCR: python eve_orehold_watcher.py --snip"
|
||||
Write-Host "Auto-update + auto-start is now a Scheduled Task (logon + daily) — nothing else to do."
|
||||
Write-Host "One-time (per PC) for OCR hold alerts: cd $dir ; python eve_orehold_watcher.py --snip"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue