disable flutter texture render of osx intel
This commit is contained in:
parent
511b982dce
commit
28bf73cd5a
7
.github/workflows/flutter-build.yml
vendored
7
.github/workflows/flutter-build.yml
vendored
@ -651,7 +651,12 @@ jobs:
|
||||
|
||||
- name: Build rustdesk
|
||||
run: |
|
||||
./build.py --flutter --hwcodec ${{ matrix.job.extra-build-args }}
|
||||
if [[ "${{ matrix.job.arch }}" == "aarch64" ]]; then
|
||||
export EXTRA_ARGS=""
|
||||
else
|
||||
export EXTRA_ARGs="--disable-flutter-texture-render"
|
||||
fi
|
||||
./build.py --flutter $EXTRA_ARGS --hwcodec ${{ matrix.job.extra-build-args }}
|
||||
|
||||
- name: create unsigned dmg
|
||||
if: env.UPLOAD_ARTIFACT == 'true'
|
||||
|
3
build.py
3
build.py
@ -111,6 +111,8 @@ def make_parser():
|
||||
'Available: PrivacyMode. Special value is "ALL" and empty "". Default is empty.')
|
||||
parser.add_argument('--flutter', action='store_true',
|
||||
help='Build flutter package', default=False)
|
||||
parser.add_argument('--disable-flutter-texture-render', action='store_true',
|
||||
help='Build flutter package', default=False)
|
||||
parser.add_argument(
|
||||
'--hwcodec',
|
||||
action='store_true',
|
||||
@ -292,6 +294,7 @@ def get_features(args):
|
||||
features.append('vram')
|
||||
if args.flutter:
|
||||
features.append('flutter')
|
||||
if not args.disable_flutter_texture_render:
|
||||
features.append('flutter_texture_render')
|
||||
if args.flatpak:
|
||||
features.append('flatpak')
|
||||
|
Loading…
Reference in New Issue
Block a user