mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: update ruleset marker
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import { noop } from 'foxts/noop';
|
||||
import { OUTPUT_LEAGCY_CLASH_PREMIUM_DIR } from '../../constants/dir';
|
||||
import { ClashClassicRuleSet } from './clash';
|
||||
import { MARKER_DOMAIN } from '../../constants/description';
|
||||
|
||||
export class LegacyClashPremiumClassicRuleSet extends ClashClassicRuleSet {
|
||||
public override readonly name = 'legacy clash premium classic ruleset';
|
||||
|
||||
readonly fileExtension = 'txt';
|
||||
|
||||
protected result: string[] = ['DOMAIN,this_ruleset_is_made_by_sukkaw.ruleset.skk.moe'];
|
||||
protected result: string[] = [`DOMAIN,${MARKER_DOMAIN}`];
|
||||
|
||||
constructor(public readonly type: 'ip' | 'non_ip' /* | (string & {}) */, public readonly outputDir = OUTPUT_LEAGCY_CLASH_PREMIUM_DIR) {
|
||||
super(type, outputDir);
|
||||
|
||||
Reference in New Issue
Block a user