mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-08-05 12:26:41 +02:00
made sure all windows run with the same web preferences set
This commit is contained in:
@@ -21,7 +21,6 @@ export function setManagedFlagsFromSettings(app: App) {
|
||||
for (const [key, value] of Object.entries(flagsFromSettings)) {
|
||||
if (value) {
|
||||
flags[key].forEach((flag) => {
|
||||
Logger.log(`enabling command line option ${flag.flag} with value ${flag.value}`);
|
||||
setFlag(app, flag.flag, flag.value);
|
||||
});
|
||||
}
|
||||
@@ -37,5 +36,6 @@ export function setManagedFlagsFromSettings(app: App) {
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
function setFlag(app: App, flag: string, value?: any) {
|
||||
Logger.log(`enabling command line option ${flag} with value ${value}`);
|
||||
app.commandLine.appendSwitch(flag, value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user