mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
ELECTRON-568 - Enable applications tab only if it is passed in the types (#406)
This commit is contained in:
parent
b2875674fd
commit
68d9ed9c00
@ -59,7 +59,7 @@ function getSource(options, callback) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isWindowsOS) {
|
if (isWindowsOS && captureWindow) {
|
||||||
/**
|
/**
|
||||||
* Sets the captureWindow to false if Desktop composition
|
* Sets the captureWindow to false if Desktop composition
|
||||||
* is disabled otherwise true
|
* is disabled otherwise true
|
||||||
|
@ -50,7 +50,7 @@ function getSources(options, callback) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isWindowsOS) {
|
if (isWindowsOS && captureWindow) {
|
||||||
/**
|
/**
|
||||||
* Sets the captureWindow to false if Desktop composition
|
* Sets the captureWindow to false if Desktop composition
|
||||||
* is disabled otherwise true
|
* is disabled otherwise true
|
||||||
|
Loading…
Reference in New Issue
Block a user