Հրամաններ՝ OpenCodex ծրագիրն առանց հարցերի տեղադրելու, այն հեռացնելու և տարածման համակարգերում հայտնաբերելու համար։ Հրամանը ցուցադրվում է միայն այն դեպքում, երբ այն հաստատ հայտնի է՝ մանիֆեստից կամ տեղադրիչի տեխնոլոգիայի փաստաթղթավորված կարգավորումներից։
Առնչվող ուղեցույց: Լուռ տեղադրման պարամետրեր՝ MSI, NSIS, Inno Setup · Ծրագրի հեռացում ռեեստրի կամ PowerShell-ի միջոցով
winget-ով
winget install --id RyensX.OpenCodex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RyensX.OpenCodex -e --silentwinget uninstall --id RyensX.OpenCodex -e --silentԸստ տեղադրիչի
64-բիթ · EXE (NSIS) · Ընթացիկ օգտատեր
OpenCodex.Setup.2.1.0.exe /SOpenCodex.Setup.2.1.0.exe /S /D=C:\Apps\opencodex- Ռեեստրի հեռացման բանալի
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ce0e88bf-c4e1-5d5f-bd8c-44770c64a07a
64-բիթ · EXE (NSIS) · Բոլոր օգտատերերը
OpenCodex.Setup.2.1.0.exe /SOpenCodex.Setup.2.1.0.exe /S /D=C:\Apps\opencodex- Ռեեստրի հեռացման բանալի
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ce0e88bf-c4e1-5d5f-bd8c-44770c64a07a
PowerShell՝ ներբեռնել, ստուգել, տեղադրել
Ներբեռնում է պաշտոնական ֆայլը, ստուգում դրա SHA256-ը և լուռ տեղադրում։
$url = 'https://github.com/RyensX/OpenCodex/releases/download/2.1.0/OpenCodex.Setup.2.1.0.exe'
$sha256 = '2A910AFF1D359CEC2BF16545AC0C593F24D134805BF60EC73C35E97754043593'
$file = Join-Path $env:TEMP 'OpenCodex.Setup.2.1.0.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait $url = 'https://github.com/RyensX/OpenCodex/releases/download/2.1.0/OpenCodex.Setup.2.1.0.exe'
$sha256 = '2A910AFF1D359CEC2BF16545AC0C593F24D134805BF60EC73C35E97754043593'
$file = Join-Path $env:TEMP 'OpenCodex.Setup.2.1.0.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait