906edf7002
- Implements the default application behavior and handoff mechanisms between console and terminal. The inbox portion is done already. This adds the ability for our OpenConsole.exe to accept the incoming server connection from the Windows OS, stand up a PTY session, start the Windows Terminal as a listener for an incoming connection, and then send it the incoming PTY connection for it to launch a tab. - The tab is launched with default settings at the moment. - You must configure the default application using the `conhost.exe` propsheet or with the registry keys. Finishing the setting inside Windows Terminal will be a todo after this is complete. The OS Settings panel work to surface this setting is a dependency delivered by another team and you will not see it here. ## Validation Steps Performed - [x] Manual adjust of registry keys to the delegation conhost/terminal behavior - [x] Adjustment of the delegation options with the propsheet - [x] Launching things from the run box manually and watching them show in Terminal - [x] Launching things from shortcuts and watching them show in the Terminal Documentation on how it works will be a TODO post completion in #9462 References #7414 - Default Terminal spec Closes #492
66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
!include ..\sources.inc
|
|
# -------------------------------------
|
|
# Windows Console
|
|
# - Console Host Core
|
|
# -------------------------------------
|
|
|
|
# This program provides the entry-point
|
|
# for when the Windows OS loader attempts to start a Win32 Console-type
|
|
# application that does not already have console handles attached.
|
|
# It will attempt to resolve the correct module for the OS platform and configuration
|
|
# and then pass control to that module for runtime services.
|
|
|
|
# -------------------------------------
|
|
# Program Information
|
|
# -------------------------------------
|
|
|
|
TARGETNAME = conhost
|
|
TARGETTYPE = PROGRAM
|
|
UMTYPE = windows
|
|
UMENTRY = wwinmain
|
|
TARGET_DESTINATION = retail
|
|
|
|
# -------------------------------------
|
|
# Build System Settings
|
|
# -------------------------------------
|
|
|
|
CETCOMPAT=1
|
|
|
|
# -------------------------------------
|
|
# Sources, Headers, and Libraries
|
|
# -------------------------------------
|
|
|
|
SOURCES = \
|
|
$(SOURCES) \
|
|
.\CConsoleHandoff.cpp \
|
|
.\exemain.cpp \
|
|
..\res.rc \
|
|
|
|
# -------------------------------------
|
|
# Side-by-side Manifesting
|
|
# -------------------------------------
|
|
|
|
SYSTEM_COMPATIBLE_ASSEMBLY_VERSION_00 = $(SYSTEM_COMPATIBLE_ASSEMBLY_VERSION).0.0
|
|
SXS_MANIFEST_DEFINES = \
|
|
$(SXS_MANIFEST_DEFINES) \
|
|
-DSYSTEM_COMPATIBLE_ASSEMBLY_VERSION_00_A="\"$(SYSTEM_COMPATIBLE_ASSEMBLY_VERSION_00)\"" \
|
|
|
|
SXS_ASSEMBLY_NAME = Microsoft.Console.Host.Core
|
|
SXS_ASSEMBLY_LANGUAGE_INDEPENDENT = 1
|
|
SXS_MANIFEST = conhost.exe.Manifest
|
|
SXS_MANIFEST_IN_RESOURCES = 1
|
|
SXS_NO_BINPLACE = 1
|
|
|
|
CMI_USE_VERSION_XML = 1
|
|
|
|
O_MANIFESTS= \
|
|
$(OBJ_PATH)\$(O)\SystemDefault.man \
|
|
conhost.man
|
|
|
|
INCLUDES= \
|
|
$(INCLUDES); \
|
|
$(OBJ_PATH)\$(O); \
|
|
|
|
NTTARGETFILE0=\
|
|
$(O_MANIFESTS)
|