Cruft Cleaner for QB64PE Windows installations - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Programs (https://qb64phoenix.com/forum/forumdisplay.php?fid=7) +---- Thread: Cruft Cleaner for QB64PE Windows installations (/showthread.php?tid=2360) |
Cruft Cleaner for QB64PE Windows installations - JRace - 12-29-2023 In the QB64PE v3.10.0 announcement thread @RhoSigma mentioned 3 MinGW directories which add a lot of unnecessary weight to a QB64PE installation on Windows (something like 155 megabytes spread across 15000 files). @Kernelpanic posted a VB Script file for removing those directories, and I posted a batch file to do the same. Why did neither of us think to post a program in the language of the forum? I dunno, but here's an attempt to set things right. This is a useful, totally optional program which can double as a test of successful QB64PE installation. Code: (Select All)
RE: Cruft Cleaner for QB64PE Windows installations - euklides - 12-29-2023 Well: a little change to do: REMOVE_DIR (ccomp$ + "license") to REMOVE_DIR (ccomp$ + "licenses") Thanks for this information ! Simply is also to use the good old windows explorer to kill theese unused directories: ...\internal\c\c_compiler\licenses ...\internal\c\c_compiler\opt ... \internal\c\c_compiler\share Quote: RE: Cruft Cleaner for QB64PE Windows installations - JRace - 12-29-2023 (12-29-2023, 03:55 PM)euklides Wrote: Well: a little change to do:Good catch, thanks! Rather than unzipping a fresh copy of PE I simply recreated those directories for program testing, and I recreated and deleted the wrong directory! I had it right in my original batch file which I used as pseudo-code for the PE version. (scratching my head) Editing mistake I guess. Fixed in the source above. RE: Cruft Cleaner for QB64PE Windows installations - Kernelpanic - 12-29-2023 Works great! Thanks! - The WSH script was easier for me to create. |