-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new VideoConference module for muting mic/cam
Co-authored-by: PrzemyslawTusinski <[email protected]> Co-authored-by: Niels Laute <[email protected]>
- Loading branch information
1 parent
9d39952
commit 0a272be
Showing
147 changed files
with
7,706 additions
and
432 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
cd /D "%~dp0" | ||
|
||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0 | ||
call msbuild -m ../PowerToys.sln /t:modules\VideoConference\VideoConferenceCustomMediaSource,modules\VideoConference\VideoConferenceVirtualDriver /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1 | ||
SET PTRoot=.. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
environment: | ||
host: | ||
os: 'windows' | ||
flavor: 'server' | ||
version: '2019' | ||
runtime: | ||
provider: 'appcontainer' | ||
image: 'cdpxwin1809.azurecr.io/global/vse2019:latest' | ||
source_mode: 'map' | ||
|
||
version: | ||
name: 'PowerToys' | ||
major: 1 | ||
minor: 0 | ||
|
||
signing_options: | ||
profile: 'external_distribution' | ||
|
||
package_sources: | ||
nuget: | ||
feeds: | ||
'Nuget': 'https://api.nuget.org/v3/index.json' | ||
'Toolset': 'https://msazure.pkgs.visualstudio.com/_packaging/Toolset/nuget/v3/index.json' | ||
'PipelineBuildSupplement': 'https://msazure.pkgs.visualstudio.com/_packaging/PipelineBuildSupplement/nuget/v3/index.json' | ||
|
||
restore: | ||
commands: | ||
- !!defaultcommand | ||
name: 'Restore Power Toys Telemetry' | ||
command: '.pipelines\restore-telemetry.cmd' | ||
- !!defaultcommand | ||
name: 'Restore Power Toys' | ||
command: '.pipelines\restore.cmd' | ||
- !!defaultcommand | ||
name: 'Restore Localization packages' | ||
command: '.pipelines\restore-localization.cmd' | ||
|
||
|
||
build: | ||
commands: | ||
- !!buildcommand | ||
name: 'Build Power Toys' | ||
command: '.pipelines\build-videoconference.cmd' | ||
artifacts: | ||
- to: 'Symbols' | ||
include: | ||
- 'x64/**/*.pdb' | ||
exclude: | ||
- 'x64/Release/obj/**/*.pdb' | ||
- from: 'x64/Release' | ||
to: 'Build_Output' | ||
include: | ||
- 'modules\VideoConference\VideoConferenceModule.dll' | ||
- 'modules\VideoConference\VideoConferenceVirtualDriver\VideoConferenceVirtualDriver.dll' | ||
- 'modules\VideoConference\VideoConferenceVirtualDriver\VideoConferenceCustomMediaSource.dll' | ||
- 'modules\VideoConference\VideoConferenceVirtualDriver\videoconferencevirtualdriver.cat' | ||
- 'modules\VideoConference\VideoConferenceVirtualDriver\VideoConferenceVirtualDriver.inf' | ||
- 'modules\VideoConference\VideoConferenceVirtualDriver\VideoConferenceVirtualDriver.cab' | ||
signing_options: | ||
sign_inline: true # This does signing a soon as this command completes | ||
- !!buildcommand | ||
name: 'Localize Power Toys' | ||
command: '.pipelines\build-localization.cmd' | ||
artifacts: | ||
- from: 'out\loc' | ||
to: 'loc' | ||
include: | ||
- '**/*' | ||
|
||
|
||
#package: | ||
# commands: | ||
# - !!buildcommand | ||
# name: 'Build MSIX package' | ||
# command: 'installer\msix\build_msix_cdpx.cmd' | ||
# artifacts: | ||
# - from: 'installer\msix\bin' | ||
# to: 'Build_MSIX_Package_Output' | ||
# include: | ||
# - '*.msix' | ||
# - '*.msixbundle' | ||
# signing_options: | ||
# profile: '400' | ||
|
||
static_analysis_options: | ||
binskim_options: | ||
files_to_scan: | ||
- from: 'installer/packages' | ||
exclude: | ||
- 'WiX.*/**/*.dll' | ||
- 'Wix.*/**/*.exe' | ||
moderncop_options: | ||
files_to_scan: | ||
- from: 'src' | ||
exclude: | ||
- '**/just.config.js' | ||
- '**/webpack.config.js' | ||
- '**/webpack.serve.config.js' | ||
- '**/dist/bundle.js' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
cd /D "%~dp0" | ||
|
||
nuget restore ../PowerToys.sln || exit /b 1 | ||
|
||
powershell.exe -Command "Invoke-WebRequest -OutFile %tmp%\wdksetup.exe https://go.microsoft.com/fwlink/p/?linkid=2085767" | ||
%tmp%\wdksetup.exe /q | ||
|
||
copy "C:\Program Files (x86)\Windows Kits\10\Vsix\VS2019\WDK.vsix" %tmp%\wdkvsix.zip | ||
powershell Expand-Archive %tmp%\wdkvsix.zip -DestinationPath %tmp%\wdkvsix -Force | ||
|
||
robocopy /e %tmp%\wdkvsix\$MSBuild\Microsoft\VC\v160 "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160" || IF %ERRORLEVEL% LEQ 7 EXIT 0 | ||
robocopy /e %tmp%\wdkvsix\$VCTargets "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\VC\VCTargets" || IF %ERRORLEVEL% LEQ 7 EXIT 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.