|
|
@@ -1,5 +1,6 @@
|
|
|
import type { Span } from '../../trace';
|
|
|
import { ClashClassicRuleSet } from '../writing-strategy/clash';
|
|
|
+import { LegacyClashPremiumRuleSet } from '../writing-strategy/legacy-clash-premium';
|
|
|
import { SingboxSource } from '../writing-strategy/singbox';
|
|
|
import { SurgeRuleSet } from '../writing-strategy/surge';
|
|
|
import { FileOutput } from './base';
|
|
|
@@ -11,6 +12,7 @@ export class RulesetOutput extends FileOutput {
|
|
|
this.strategies = [
|
|
|
new SurgeRuleSet(type),
|
|
|
new ClashClassicRuleSet(type),
|
|
|
+ new LegacyClashPremiumRuleSet(type),
|
|
|
new SingboxSource(type)
|
|
|
];
|
|
|
}
|
|
|
@@ -40,7 +42,8 @@ export class ClashOnlyRulesetOutput extends FileOutput {
|
|
|
super(span, id);
|
|
|
|
|
|
this.strategies = [
|
|
|
- new ClashClassicRuleSet(type)
|
|
|
+ new ClashClassicRuleSet(type),
|
|
|
+ new LegacyClashPremiumRuleSet(type)
|
|
|
];
|
|
|
}
|
|
|
}
|