chore: fix lint findings
- commit
- 1c13f3ec01fde0a2fd8fab51a185a57a08fcb42f
- author
- brice · · 2026-04-28 04:42 UTC
- parent
- a8fd940
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
2 files · +6 -6
M internal/infrastructure/cef/content_injector.go +0 -1
| @@ -300,7 +300,6 @@ func (ci *contentInjector) onLoadEnd(wv *WebView) { | |||
| 300 | 300 | if ci.videoDiagnosticsEnabled { | |
| 301 | 301 | wv.RunJavaScript(context.Background(), videoDiagnosticJS) | |
| 302 | 302 | } | |
| 303 | - | ||
| 304 | 303 | } | |
| 305 | 304 | ||
| 306 | 305 | // injectCSS injects a CSS string as a <style> element via JavaScript. | |
| @@ -300,7 +300,6 @@ func (ci *contentInjector) onLoadEnd(wv *WebView) { | |||||
| 300 | if ci.videoDiagnosticsEnabled { | 300 | if ci.videoDiagnosticsEnabled { | ||
| 301 | wv.RunJavaScript(context.Background(), videoDiagnosticJS) | 301 | wv.RunJavaScript(context.Background(), videoDiagnosticJS) | ||
| 302 | } | 302 | } | ||
| 303 | - | ||||
| 304 | } | 303 | } | ||
| 305 | 304 | ||||
| 306 | // injectCSS injects a CSS string as a <style> element via JavaScript. | 305 | // injectCSS injects a CSS string as a <style> element via JavaScript. | ||
M internal/infrastructure/config/schema_provider.go +6 -5
| @@ -1025,11 +1025,12 @@ func (*SchemaProvider) getPerformanceKeys(defaults *Config) []entity.ConfigKeyIn | |||
| 1025 | 1025 | func (*SchemaProvider) getRuntimeKeys(defaults *Config) []entity.ConfigKeyInfo { | |
| 1026 | 1026 | return []entity.ConfigKeyInfo{ | |
| 1027 | 1027 | { | |
| 1028 | - | Key: "engine.cef.cef_dir", | |
| 1029 | - | Type: "string", | |
| 1030 | - | Default: defaults.Engine.CEF.CEFDir, | |
| 1031 | - | Description: "Optional CEF runtime directory containing libcef.so and Resources; overrides the default runtime discovery order (CEF_DIR env, /usr/lib/cef, ~/.local/share/cef)", | |
| 1032 | - | Section: SectionRuntime, | |
| 1028 | + | Key: "engine.cef.cef_dir", | |
| 1029 | + | Type: "string", | |
| 1030 | + | Default: defaults.Engine.CEF.CEFDir, | |
| 1031 | + | Description: "Optional CEF runtime directory containing libcef.so and Resources; overrides the default " + | |
| 1032 | + | "runtime discovery order (CEF_DIR env, /usr/lib/cef, ~/.local/share/cef)", | |
| 1033 | + | Section: SectionRuntime, | |
| 1033 | 1034 | }, | |
| 1034 | 1035 | { | |
| 1035 | 1036 | Key: "engine.webkit.prefix", | |
| @@ -1025,11 +1025,12 @@ func (*SchemaProvider) getPerformanceKeys(defaults *Config) []entity.ConfigKeyIn | |||||
| 1025 | func (*SchemaProvider) getRuntimeKeys(defaults *Config) []entity.ConfigKeyInfo { | 1025 | func (*SchemaProvider) getRuntimeKeys(defaults *Config) []entity.ConfigKeyInfo { | ||
| 1026 | return []entity.ConfigKeyInfo{ | 1026 | return []entity.ConfigKeyInfo{ | ||
| 1027 | { | 1027 | { | ||
| 1028 | - | Key: "engine.cef.cef_dir", | 1028 | + | Key: "engine.cef.cef_dir", |
| 1029 | - | Type: "string", | 1029 | + | Type: "string", |
| 1030 | - | Default: defaults.Engine.CEF.CEFDir, | 1030 | + | Default: defaults.Engine.CEF.CEFDir, |
| 1031 | - | Description: "Optional CEF runtime directory containing libcef.so and Resources; overrides the default runtime discovery order (CEF_DIR env, /usr/lib/cef, ~/.local/share/cef)", | 1031 | + | Description: "Optional CEF runtime directory containing libcef.so and Resources; overrides the default " + |
| 1032 | - | Section: SectionRuntime, | 1032 | + | "runtime discovery order (CEF_DIR env, /usr/lib/cef, ~/.local/share/cef)", |
| 1033 | + | Section: SectionRuntime, | |||
| 1033 | }, | 1034 | }, | ||
| 1034 | { | 1035 | { | ||
| 1035 | Key: "engine.webkit.prefix", | 1036 | Key: "engine.webkit.prefix", | ||