File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1414 },
1515 "extract_dir" : " AdGuardHome" ,
1616 "bin" : " AdGuardHome.exe" ,
17- "persist" : [
18- " data" ,
19- " AdGuardHome.yaml"
20- ],
2117 "pre_install" : [
22- " if (!(is_admin)) {error 'This package requires admin rights to install';break}" ,
23- " $config = \" AdGuardHome.yaml\" " ,
24- " if (!(Test-Path \" $persist_dir\\ $config\" )) { New-Item \" $dir\\ $config\" -ItemType File | Out-Null }"
18+ " if (!(is_admin)) {error 'This package requires admin rights to install';break}"
2519 ],
2620 "post_install" : [
27- " AdGuardHome.exe -s install --no-check-update"
21+ " AdGuardHome.exe -s install --no-check-update --work-dir \" $persist_dir \" "
2822 ],
2923 "pre_uninstall" : [
3024 " if (!(is_admin)) { error 'Admin rights are required to uninstall'; break }" ,
You can’t perform that action at this time.
0 commit comments