From a183d978006dc1a6b98a2f2d7703b43315509f2d Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 19 Jun 2022 17:19:45 +0200 Subject: [PATCH] moved winauth ... --- optional/startmenu/WinAuth.lnk | Bin 923 -> 1328 bytes optional/unpack-winauth.cmd | 2 +- scripts/autoconfig-all.cmd | 3 +++ scripts/cleanup-publicdir.cmd | 13 +++++++++++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 scripts/cleanup-publicdir.cmd diff --git a/optional/startmenu/WinAuth.lnk b/optional/startmenu/WinAuth.lnk index ba09bdfc4b752242340189af67c932cb34699ca5..27a41cdf589c9f986bf49dfe5c9fdeb40c8d1609 100644 GIT binary patch literal 1328 zcmb7EUr3Wt6hAWy|3oSNK_zn}hGxyp)J;Kf&9<)+ww$EN0>9jHi_OXA=nJ9@2{X)x zBoM-oGJP?P`@&;~WN2k9lqYFH16`Oxot(`gTqoy+f@bI(2BIp^N}?&^q0 zksgPcC@9ZlyhRD5gxzh6bcLFy6sHznANt-MR?O$sg=d3P3PIN-M=GN6vAIZ*PI;C& z^Q7`il`G{=IDv}Q>Y;2ZF;v-NL2Je!Y2-zy;e(V)mU^?PUVpKasEZOQo+2-L%(F*A z4bzeeQ6+M%wSp()FAFXO$U;8yQX6KGJZRfUE^?ED{ICm2A{|vw5u$70al-G$I7p?W zBD-wwrvq4N5T_w6;8x4^+?^2KyW}x(r}x1hRlFfEfPSpTa&@yWM-vPq;;k z&)en`JxZg??eHrLC0#|4ZGD3{u?oZX*SxtKvTe|BCK;#-88?@O``t=3ybt;%z-LRw zI#Sbo;rH4&aZNz_O&tdrOTrCgC1~zv@ zrWIcalPW5`P+Z{CwI<`UI-TL^a@xS&LC;$c{P7&Z1(+*Va7_c0uW*hnEq?nlu&*4f zD+O1Xjpd}KO8B&}I6^0T%iya(tQJEJAIEB7@rcR<6gQ$?D0mz(<)qwOh->M)J%68D zP2v!4WIM1CH8Zfc6ToYM_>(U4^Jgc2L~N|SeNGuW8}I6=1H%o@x8fysLVLmf=tn!C z<&>-cAiNF$-0bMt*23zW?@}MVr=WQ{Yw{%gyE%ZH%?JL6e;cuw^RZL{T=Ze4r*`6c fhcG78s79)#zFhd793TKuTRugWO~Rj(NEVufWeRf1Z0DsO%Y%y$*<}efk#YH9yG3v7i3WL=q^1M%}Iv*HARba-Z7N`84UgR@l(*dZ}M0mssk487EfR0alK zpo!;LBotZ0{x>Bq*aF4nfS3WK aRTPNPJO}i$o6PFJ3cvsWfdDoLjUWNB$8)Fv diff --git a/optional/unpack-winauth.cmd b/optional/unpack-winauth.cmd index 6e510ba..74925b0 100644 --- a/optional/unpack-winauth.cmd +++ b/optional/unpack-winauth.cmd @@ -15,7 +15,7 @@ echo killing WinAuth processes... taskkill /F /IM winauth.exe 2>nul echo unpacking WinAuth ... -%TOOLS%\7z x -y -aoa -o"%TOOLS%" %ZIP% +%TOOLS%\7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP% echo copy startmenu link ... copy /Y startmenu\WinAuth.lnk %STARTMENU% diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index 31e4ec2..2f04636 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -206,6 +206,9 @@ rem ... stupid os problem #3 call cleanup-programlist.cmd echo. +rem ... remove stupid public folders +call cleanup-publicdir.cmd + date /t time /t echo ####### %0 ####### diff --git a/scripts/cleanup-publicdir.cmd b/scripts/cleanup-publicdir.cmd new file mode 100644 index 0000000..5a5037d --- /dev/null +++ b/scripts/cleanup-publicdir.cmd @@ -0,0 +1,13 @@ +@echo off + +echo ####### %0 ####### + +echo removing useless directories in PUBLIC folder ... +rd /S /Q %PUBLIC%\Documents 2>nul +rd /S /Q %PUBLIC%\Downloads 2>nul +rd /S /Q %PUBLIC%\Pictures 2>nul +rd /S /Q %PUBLIC%\Videos 2>nul +rd /S /Q %PUBLIC%\Roaming 2>nul + +echo ####### %0 ####### +