This is a simple utility that allows the creation of a custom folder launcher with custom a folder icon via PyInstaller. The end goal is to be able to pin an exe to the Windows taskbar which will luanch a spesific folder, as Windows does not allow you to pin folders directly.
- Create a virtual env for Python 3.10.4 (or possibly newer):
python -m venv venv
- Activate the virtual env:
.\venv\Scripts\activate
- Install the dependencies:
python -m pip install -r .\requirements.txt
- Launch the builder script:
python builder.py
- Enter your launcher executable name.
- Enter your launcher folder path and your launcher icon path (or leave it blank for the default icon).
- Press build, and your launcher should be built which will launch your desired folder.
- Place the launcher somewhere on your system, and then drag it to the taskbar.
- This was made with tkinter which is fine, but it is not threaded so the UI will lock up while things are building etc. If someone feels ambitious they could put in a pull request to fix this. Tests would be welcome as well. Both are low priority for me.
- Sometimes Windows Defender will flag a PyInstaller Executable the first time it is run. You'll probably need to allow it to run the first time. However I have seen Windows also ignore them completely and run them fine, I don't really understand why.