Gitmun ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id cst8t.gitmun -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id cst8t.gitmun -e --silentwinget uninstall --id cst8t.gitmun -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
Gitmun_0.13.0_x64-setup.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
Gitmun_0.13.0_x64-setup.exe /S /D=C:\Apps\gitmun- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Gitmun
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %LocalAppData%\Gitmun
- DisplayVersion
- 0.13.0
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i Gitmun_0.13.0_x64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i Gitmun_0.13.0_x64.msi /qn /norestart /l*v "%TEMP%\gitmun-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {0656FB63-AACB-439B-BC83-C8F03C8E59E3} /qn /norestart- MSI product code
- {0656FB63-AACB-439B-BC83-C8F03C8E59E3}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0656FB63-AACB-439B-BC83-C8F03C8E59E3}
- UpgradeCode
- {CFD38D6F-06D8-500B-8162-2815A511EBAF}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%/Gitmun
- DisplayVersion
- 0.13.0
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-gitmun.ps1
$url = 'https://github.com/cst8t/gitmun/releases/download/v0.13.0/Gitmun_0.13.0_x64-setup.exe'
$sha256 = '65A379303CC1262FF4E4FE921C74B0E58A8964C51F13EA004590201E6B779253'
$file = Join-Path $env:TEMP 'Gitmun_0.13.0_x64-setup.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 install-gitmun.ps1
$url = 'https://github.com/cst8t/gitmun/releases/download/v0.13.0/Gitmun_0.13.0_x64.msi'
$sha256 = 'C2434F4766DD7EF58E8EAFC16F38EF2276E936F882CE06FE4C057D4496F6829E'
$file = Join-Path $env:TEMP 'Gitmun_0.13.0_x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait