mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-26 00:52:20 +00:00
2755bfc255
In portable builds, scrcpy-server.jar was supposed to be present in the current directory, so in practice it worked only if scrcpy was launched from its own directory. Instead, find the absolute path of the executable and build a suitable path to use scrcpy-server.jar from the same directory.
9 lines
806 B
Meson
9 lines
806 B
Meson
option('build_app', type: 'boolean', value: true, description: 'Build the client')
|
|
option('build_server', type: 'boolean', value: true, description: 'Build the server')
|
|
option('crossbuild_windows', type: 'boolean', value: false, description: 'Build for Windows from Linux')
|
|
option('windows_noconsole', type: 'boolean', value: false, description: 'Disable console on Windows (pass -mwindows flag)')
|
|
option('prebuilt_server', type: 'string', description: 'Path of the prebuilt server')
|
|
option('portable', type: 'boolean', description: 'Use scrcpy-server.jar from the same directory as the scrcpy executable')
|
|
option('skip_frames', type: 'boolean', value: true, description: 'Always display the most recent frame')
|
|
option('hidpi_support', type: 'boolean', value: true, description: 'Enable High DPI support')
|