ClipsEnhancements: Drop Patch

This commit is contained in:
thororen1234 2026-05-18 21:03:47 -04:00
parent eb95d7fb8d
commit a614f92e8c
No known key found for this signature in database

View file

@ -25,30 +25,6 @@ const settings = definePluginSettings({
{ label: "Never", value: "never" },
]
},
enableScreenshotKeybind: {
type: OptionType.BOOLEAN,
description: "Enable the screenshot keybind feature",
default: true,
restartNeeded: true
},
enableVoiceOnlyClips: {
type: OptionType.BOOLEAN,
description: "Enable voice-only clips (audio without video)",
default: true,
restartNeeded: true
},
enableAdvancedSignals: {
type: OptionType.BOOLEAN,
description: "Enable advanced clip signals (auto-clip triggers)",
default: true,
restartNeeded: true
},
ignorePlatformRestriction: {
type: OptionType.BOOLEAN,
description: "Allow Platform Restricted Clipping (may cause save errors)",
default: true,
restartNeeded: true
},
clipsLink: {
type: OptionType.COMPONENT,
description: "",
@ -97,13 +73,6 @@ export default definePlugin({
replace: "$self.patchTimeslots($&)"
}
},
{
find: "2026-03-clips-experiment",
replacement: {
match: /defaultConfig:\{enableClips:!\d,ignorePlatformRestriction:!\d,enableScreenshotKeybind:!\d,enableVoiceOnlyClips:!\d,enableAdvancedSignals:!\d\}/,
replace: "defaultConfig:{enableClips:!0,ignorePlatformRestriction:$self.settings.store.ignorePlatformRestriction,enableScreenshotKeybind:$self.settings.store.enableScreenshotKeybind,enableVoiceOnlyClips:$self.settings.store.enableVoiceOnlyClips,enableAdvancedSignals:$self.settings.store.enableAdvancedSignals}"
}
}
],
patchTimeslots(timeslots: { id: string; value: number; label: string; }[]) {