mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-14 01:26:18 +08:00
refact: win, virtual display (#7767)
* refact: win, virtual display Signed-off-by: fufesou <shuanglongchen@yeah.net> * Update flutter-build.yml --------- Signed-off-by: fufesou <shuanglongchen@yeah.net> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
This commit is contained in:
9
build.py
9
build.py
@ -153,6 +153,12 @@ def make_parser():
|
||||
action='store_true',
|
||||
help='Skip packing, only flutter version + Windows supported'
|
||||
)
|
||||
parser.add_argument(
|
||||
'--virtual-display',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Build rustdesk libs with the virtual display feature enabled'
|
||||
)
|
||||
parser.add_argument(
|
||||
"--package",
|
||||
type=str
|
||||
@ -293,6 +299,9 @@ def get_features(args):
|
||||
features.append('appimage')
|
||||
if args.unix_file_copy_paste:
|
||||
features.append('unix-file-copy-paste')
|
||||
if windows:
|
||||
if args.virtual_display:
|
||||
features.append('virtual_display_driver')
|
||||
print("features:", features)
|
||||
return features
|
||||
|
||||
|
Reference in New Issue
Block a user