mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(desktop): drop game capture injection and pin dll search (#2069)
This commit is contained in:
1 parent
9ad026b8ce
commit
9d0be1ebd1
43 files changed
+158
-12089
No files matched your search
@@ -273,7 +273,6 @@ describe('NativeScreenCapture source identity and capability reporting', () => {
|
||||
width: 2560,
|
||||
height: 1440,
|
||||
frameRate: 60,
|
||||
injectionMethod: undefined,
|
||||
captureId: 'capture-1',
|
||||
colorRange: 'full',
|
||||
colorSpace: 'rec709',
|
||||
@@ -287,7 +286,6 @@ describe('NativeScreenCapture source identity and capability reporting', () => {
|
||||
width: 1280,
|
||||
height: 720,
|
||||
frameRate: 30,
|
||||
injectionMethod: undefined,
|
||||
captureId: 'capture-2',
|
||||
colorRange: undefined,
|
||||
colorSpace: undefined,
|
||||
@@ -352,7 +350,6 @@ describe('NativeScreenCapture source identity and capability reporting', () => {
|
||||
width: 1280,
|
||||
height: 720,
|
||||
frameRate: 30,
|
||||
injectionMethod: undefined,
|
||||
captureId: 'preselected-capture-id',
|
||||
colorRange: undefined,
|
||||
colorSpace: undefined,
|
||||
@@ -485,14 +482,12 @@ describe('NativeScreenCapture source identity and capability reporting', () => {
|
||||
width: 2560,
|
||||
height: 1440,
|
||||
frameRate: 60,
|
||||
injectionMethod: 'set-windows-hook',
|
||||
nativeFrameSinkRequired: true,
|
||||
},
|
||||
);
|
||||
|
||||
assert.equal(captures.length, 1);
|
||||
assert.equal(captures[0].options.sourceKind, 'screen');
|
||||
assert.equal(captures[0].options.injectionMethod, undefined);
|
||||
|
||||
const diagnostics = await harness.handlers.get('native-screen-capture:get-diagnostics')({sender}, result.captureId);
|
||||
assert.equal(diagnostics.sourceKind, 'screen');
|
||||
|
||||
Reference in new issue
Block a user