mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
booru: prevent race condition in cache folder cleaning
This commit is contained in:
@@ -37,8 +37,7 @@ Item {
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
Hyprland.dispatch(`exec rm -rf ${previewDownloadPath}`)
|
||||
Hyprland.dispatch(`exec mkdir -p ${previewDownloadPath}`)
|
||||
Hyprland.dispatch(`exec rm -rf ${previewDownloadPath} && mkdir -p ${previewDownloadPath}`)
|
||||
}
|
||||
|
||||
property var allCommands: [
|
||||
|
||||
Reference in New Issue
Block a user