cmbruns / vimage

Image Viewer
Other
3 stars 1 forks source link

Set file associations for image file types at install time #51

Closed cmbruns closed 3 months ago

cmbruns commented 3 months ago

There are already a few for MacOS in the info_plist section of scripts/vimage_macos.spec

It should be possible on windows too, probably by modifying CMake/WIX.template.in or CMakeLists.txt. See also: https://stackoverflow.com/questions/138550/how-to-register-file-types-extensions-with-a-wix-installer https://github.com/musescore/MuseScore/blob/d60cca9fc2b9cb46b3e9743928ec382e78db3ff7/buildscripts/packaging/Windows/Installer/WIX.template.in https://github.com/shenanigans/PornViewer/blob/30f9f3b7c8eebb51c4aa2f4c7f41378b587c845a/winstaller.wxs

cmbruns commented 3 months ago

Basic implementation works for windows and Mac. Linux is still TODO Fixed in https://github.com/cmbruns/vimage/commit/0563215a5d90ca7c591f96030290d0aafcd85628