mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 02:51:46 +00:00
20 lines
472 B
TypeScript
20 lines
472 B
TypeScript
import { createPlugin } from '@/utils';
|
|
import { t } from '@/i18n';
|
|
|
|
import { injectRm3 } from './scripts/rm3';
|
|
import { injectCpuTamer } from './scripts/cpu-tamer';
|
|
|
|
export default createPlugin({
|
|
name: () => t('plugins.performance-improvement.name'),
|
|
description: () => t('plugins.performance-improvement.description'),
|
|
restartNeeded: true,
|
|
addedVersion: '3.9.X',
|
|
config: {
|
|
enabled: true,
|
|
},
|
|
renderer() {
|
|
injectRm3();
|
|
injectCpuTamer();
|
|
},
|
|
});
|