Skip to content

Major bug fixes over previous version (v5.6-stable)

Pre-release
Pre-release
Compare
Choose a tag to compare
@InsertX2k InsertX2k released this 09 Mar 22:37
· 57 commits to main since this release
bd1371d

What's new in version 5.8-testing?

  • Fixed the error that appears when user starts Temp_Cleaner GUI without internet connected, or with unstable internet connection
  • Now the updater program will check for updates after launching the main Temp_Cleaner GUI's window.
  • An error message will appear when the user attempts to launch the updater program from the "About" window when there is no active internet connection.
  • The program will redirect it's cwd (current working directory) automatically to the path where Temp_Cleaner GUI executable is stored (ex. C:\Program Files\Temp_Cleaner GUI v5.8-testing (x64)), This is useful in many cases like when you try to launch Temp_Cleaner GUI as user NT AUTHORITY\SYSTEM via a 3rd party program

Unfortunately since this is a beta testing release, Probably there won't be official downloads for this release, but the good news is that you can still compile it yourself using the method shown below

How to compile v5.8-testing?

  • Download and install Python 3.11 from python.org
  • Install pyinstaller by typing the following command:
pip install pyinstaller
rem If it doesn't work, try this command instead
py -m pip install pyinstaller
  • Create a working directory (ex. C:\tcgworkdir)
mkdir tcgworkdir
cd tcgworkdir
  • Clone this repo using git
git clone https://github.com/insertx2k/temp_cleaner_gui
  • Navigate to the folder temp_cleaner_gui
cd temp_cleaner_gui
  • Now you can use pyinstaller to compile this program, use the following command line to do that:
pyinstaller --distpath ".\tcgv5.8-testing_dist" --workpath ".\tcgv5.8-testing_workpath" --clean --onedir --name "temp_cleaner_gui58-testing_usrdist" --add-data "<tcg_files_dir>\about.png";"." --add-data "<tcg_files_dir>\about_dark.png";"." --add-data "<tcg_files_dir>\banner.png";"." --add-data "<tcg_files_dir>\bannerlowres.png";"." --add-data "<tcg_files_dir>\Config.ini";"." --add-data "<tcg_files_dir>\icon0.ico";"." --add-data "<tcg_files_dir>\nul'";"." --add-data "<tcg_files_dir>\settings.jpg";"." --add-data "<tcg_files_dir>\settings.png";"." --add-data "<tcg_files_dir>\style.json";"." --add-data "<tcg_files_dir>\updater.ico";"." --add-data "<tcg_files_dir>\updater.png";"." --add-data "<tcg_files_dir>\updater_dark.png";"." --add-data "%localappdata%/Programs/Python/Python311/Lib/site-packages/customtkinter;customtkinter/" --hidden-import shutil --hidden-import tkinter --hidden-import os --hidden-import xmlrpc --hidden-import PIL --hidden-import pillow --hidden-import configparser --hidden-import subprocess --hidden-import awesometkinter --hidden-import sys --hidden-import threading --hidden-import platform --hidden-import translations --hidden-import customtkinter --hidden-import webbrowser --hidden-import updater --windowed -i "<tcg_files_dir>\icon0.ico" --uac-admin "<tcg_files_dir>\temp_cleaner_gui_r5.8.py"
  • Don't forget to replace <tcg_files_dir> with the full path of the working directory you've created in the first step and cloned this repo files into (ex. C:\tcgworkdir\temp_cleaner_gui)

Pro tip: You can copy this command line and paste it in a new text file and use the "Replace" function in "Edit" menubar of notepad window to make things easier.