Describe the bug
The .deb cannot be installed, nor removed in WSL, due to pre/post install scripts that do not check if the desktop menu is available or not.
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package github-store (--configure):
installed github-store package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
github-store
E: Sub-process /usr/bin/dpkg returned an error code (1)
To Reproduce
Install .deb in WSL Ubuntu 24.04
Expected behavior
Program can be installed and removed without errors
Desktop
Version WSL : 2.6.3.0
Version du noyau : 6.6.87.2-1
Version WSLg : 1.0.71
Version MSRDC : 1.2.6353
Version direct3D : 1.611.1-81528511
Version de DXCore : 10.0.26100.1-240331-1435.ge-release
Version de Windows : 10.0.26100.8037