diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-12-12 23:50:09 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-12-12 23:50:09 +0300 |
commit | 61f679f52e3bf2d14a136f6070ce07bed5ecc0cf (patch) | |
tree | 40a9c9b973a6e0491dfef5a5a153e2b54b9c2dbb | |
parent | 3043756014288f94c9365440794f4d369eb1f056 (diff) |
Delete Install.ps1
-rw-r--r-- | Install.ps1 | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Install.ps1 b/Install.ps1 deleted file mode 100644 index edf89c2..0000000 --- a/Install.ps1 +++ /dev/null @@ -1,14 +0,0 @@ -$object = Invoke-WebRequest -Uri "https://gitea.cebotari.ru/api/v1/repos/chebser/RhSolutions-AddIn/releases/latest" | ConvertFrom-Json -$download_link = $object.assets[1].browser_download_url -Invoke-WebRequest -Uri $download_link -OutFile "$env:appdata\Microsoft\AddIns\RhSolutions-AddIn-packed.xll" - -$excel = New-Object -ComObject Excel.Application -foreach ($addin in $excel.AddIns2) -{ - $title = $addin.Title - if ($title -eq 'RhSolutions Add-In') - { - $addin.Installed = $true - } -} -$excel.Quit()
\ No newline at end of file |