Add Windows application manifest

- Use common controls 6 so error dialogs use correct visuals on
Windows XP or later!
- Specify running as invoker so Windows doesn't guess if it should
prompt for admin permission on Vista or later.
- Specify compatible with Vista through Windows 10. Tells Windows
not to emulate Vista behavior, not sure if it affects anything.

Makefile automatically runs windres when manifest changes.
This commit is contained in:
Zack Middleton 2017-09-07 21:01:23 -05:00
parent 6f0736ce9a
commit aeaecb4ae5
3 changed files with 39 additions and 2 deletions

View file

@ -2665,7 +2665,7 @@ $(B)/client/%.o: $(SYSDIR)/%.c
$(B)/client/%.o: $(SYSDIR)/%.m
$(DO_CC)
$(B)/client/%.o: $(SYSDIR)/%.rc
$(B)/client/win_resource.o: $(SYSDIR)/win_resource.rc $(SYSDIR)/win_manifest.xml
$(DO_WINDRES)
@ -2722,7 +2722,7 @@ $(B)/ded/%.o: $(SYSDIR)/%.c
$(B)/ded/%.o: $(SYSDIR)/%.m
$(DO_DED_CC)
$(B)/ded/%.o: $(SYSDIR)/%.rc
$(B)/ded/win_resource.o: $(SYSDIR)/win_resource.rc $(SYSDIR)/win_manifest.xml
$(DO_WINDRES)
$(B)/ded/%.o: $(NDIR)/%.c