diff --git a/.goreleaser.yml b/.goreleaser.yml index fef2597f..cb231096 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -52,6 +52,8 @@ scoop: homepage: https://github.com/LGUG2Z/komorebi description: A tiling window manager for Windows license: MIT + pre_install: + - if (Get-Process -Name komorebi -ErrorAction SilentlyContinue) { komorebic stop } post_install: - Write-Host "Run 'cp $original_dir\komorebi.sample.ahk $Env:UserProfile\komorebi.ahk' to get started with the sample configuration" - Write-Host "Once you have a configuration file in place, you can run 'komorebic start' to start the window manager"