mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-23 09:51:16 +01:00
ci(scoop): stop proc if running before updates
For future upgrades of komorebi via Scoop, the proc will most likely be running on the user's system. This commit adds a pre_install hook to run 'komorebi stop' if komorebi is running at the time of the upgrade. resolve #11
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user