Support Desktop App Bridge for data file locating/packaging
@fanc999
Submitted by Chun-wei Fan Link to original bug (#782570)
Description
Hi,
In the advent of Windows 10 S, it becomes a requirement that apps are installed from the Windows store, which means that at this point any apps that we support using the GTK+ stack (and so on) need to have its installer[1] run through a converter tool (provided by Microsoft) to generate an .appx package which can then be submitted to the Windows Store to be run on full Windows 10 /10 S systems.
What this specifically means in the case here is that data files are searched for in a slightly different way for those converted apps, so we will need to update glib/gutils.c to look in %HOMEPATH%\AppData\Local (or so) first before we look in CSIDL_LOCAL_APPDATA (which is c:\ProgramData by default on Windows 10) so that we can find items like gsettings schemas properly (otherwise we will hit abort() on anything that uses those schemas in our apps, including File Open/Save dialogs).
[1]: As far as I understand, .msi installers (which are normally created by WIX), InstallShield installers and NSIS installers are supported by the tool.
I will try to take a look at this part when I get back from my trip.
With blessings, thank you!