feat(performance-improvement): added "performance improvement" plugin

This commit is contained in:
JellyBrick
2025-04-27 04:23:19 +09:00
parent a3d620ba52
commit 1c76415846
10 changed files with 1568 additions and 0 deletions

View File

@ -0,0 +1,19 @@
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();
},
});