mirror of
https://github.com/Zaarrg/stremio-community-v5.git
synced 2026-03-11 17:45:44 +00:00
fix backup folder not being skipped
This commit is contained in:
parent
347bf735ee
commit
2530f8eb11
1 changed files with 8 additions and 0 deletions
|
|
@ -308,6 +308,14 @@ Function ${un}RemoveAllExceptWebView2
|
|||
StrCmp $R2 "." Next
|
||||
StrCmp $R2 ".." Next
|
||||
|
||||
; Check if this item’s name begins with our backup folder prefix.
|
||||
; Copy the first 23 characters ("portable_config_backup_") into $R5.
|
||||
StrCpy $R5 $R2 23
|
||||
StrCmp $R5 "portable_config_backup_" 0 notBackup
|
||||
; If equal, skip deletion for this folder.
|
||||
Goto next
|
||||
notBackup:
|
||||
|
||||
; Skip the excluded directory
|
||||
StrCmp $R2 $R0 Next
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue