casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.93k stars 78 forks source link

New method for finding installed apps for win >= 10, generalized PyInstaller command #75

Closed femelo closed 2 years ago

femelo commented 2 years ago

Cassowary tries to pull the list of installed apps from the registry. However, under Windows 10, not all apps are listed in the searched registry locations. In this PR, a new method was added using a powershell command to list all installed packages and filtering out the system apps and apps without an executable. Also, in order to build the application on Windows 11, a change in the build.bat script was necessary to call the PyInstaller properly.