mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
chore(desktop): drop Chromium switches that no longer exist (#2660)
This commit is contained in:
1 parent
53399ffb44
commit
7d8778495f
7 files changed
+99
-47
No files matched your search
@@ -22,7 +22,6 @@ import {
|
||||
addLinuxScreenCapturePipeWireFeature,
|
||||
addMacosPreSequoiaScreenCaptureDisabledFeatures,
|
||||
addWindowsHardwareVideoEncodeFeatures,
|
||||
addWindowsWebRtcWgcDisabledFeatures,
|
||||
appendConfiguredChromiumSwitches,
|
||||
appendDisabledChromiumFeatures,
|
||||
appendEnabledBlinkFeature,
|
||||
@@ -268,7 +267,6 @@ if (launchConfigurationError) {
|
||||
if (process.platform === 'darwin') {
|
||||
addMacosPreSequoiaScreenCaptureDisabledFeatures(disabledChromiumFeatures);
|
||||
}
|
||||
addWindowsWebRtcWgcDisabledFeatures(disabledChromiumFeatures);
|
||||
appendDisabledChromiumFeatures(disabledChromiumFeatures);
|
||||
if (enabledChromiumFeatures.size > 0) {
|
||||
appendEnabledChromiumFeatures(enabledChromiumFeatures);
|
||||
@@ -279,8 +277,6 @@ if (launchConfigurationError) {
|
||||
}
|
||||
appendLinuxOzonePlatformHint();
|
||||
if (process.platform === 'win32') {
|
||||
app.commandLine.appendSwitch('enable-h264-mf');
|
||||
app.commandLine.appendSwitch('enable-h264-mf-zero-copy');
|
||||
app.setToastActivatorCLSID(WINDOWS_TOAST_ACTIVATOR_CLSID);
|
||||
app.setAppUserModelId(WINDOWS_APP_USER_MODEL_ID);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user