forked from Shinonome/dots-hyprland
booru: prevent race condition in cache folder cleaning
This commit is contained in:
@@ -37,8 +37,7 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
Hyprland.dispatch(`exec rm -rf ${previewDownloadPath}`)
|
Hyprland.dispatch(`exec rm -rf ${previewDownloadPath} && mkdir -p ${previewDownloadPath}`)
|
||||||
Hyprland.dispatch(`exec mkdir -p ${previewDownloadPath}`)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
property var allCommands: [
|
property var allCommands: [
|
||||||
|
|||||||
Reference in New Issue
Block a user