Skip to content

Commit

Permalink
update build script/doc for cppwinrt
Browse files Browse the repository at this point in the history
  • Loading branch information
tez011 authored and ReenigneArcher committed May 27, 2024
1 parent 3ba952e commit f77eb15
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .codeql-prebuild-cpp-Windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pacman --noconfirm -S \
make \
mingw-w64-ucrt-x86_64-boost \
mingw-w64-ucrt-x86_64-cmake \
mingw-w64-ucrt-x86_64-cppwinrt \
mingw-w64-ucrt-x86_64-curl \
mingw-w64-ucrt-x86_64-graphviz \
mingw-w64-ucrt-x86_64-miniupnpc \
Expand Down
1 change: 1 addition & 0 deletions docs/source/building/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Install dependencies:
git \
mingw-w64-ucrt-x86_64-boost \
mingw-w64-ucrt-x86_64-cmake \
mingw-w64-ucrt-x86_64-cppwinrt \
mingw-w64-ucrt-x86_64-curl \
mingw-w64-ucrt-x86_64-graphviz \
mingw-w64-ucrt-x86_64-miniupnpc \
Expand Down
10 changes: 5 additions & 5 deletions src_assets/common/assets/web/configs/tabs/Advanced.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@ const config = ref(props.config)
</div>

<!-- Capture -->
<div class="mb-3" v-if="platform === 'linux' || platform === 'windows'">
<div class="mb-3" v-if="platform !== 'macos'">
<label for="capture" class="form-label">{{ $t('config.capture') }}</label>
<select id="capture" class="form-select" v-model="config.capture">
<option value="">{{ $t('_common.autodetect') }}</option>
<PlatformLayout :platform="platform">
<template #windows>
<option value="ddx">Desktop Duplication API</option>
<option value="wgc">Windows.Graphics.Capture {{ $t('_common.beta') }}</option>
</template>
<template #linux>
<option value="nvfbc">NvFBC</option>
<option value="wlr">wlroots</option>
<option value="kms">KMS</option>
<option value="x11">X11</option>
</template>
<template #windows>
<option value="ddx">Desktop Duplication API</option>
<option value="wgc">Windows.Graphics.Capture {{ $t('_common.beta') }}</option>
</template>
</PlatformLayout>
</select>
<div class="form-text">{{ $t('config.capture_desc') }}</div>
Expand Down

0 comments on commit f77eb15

Please sign in to comment.