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:
@@ -2,11 +2,12 @@ import { noop } from 'foxts/noop';
|
||||
import { SurgeRuleSet } from './surge';
|
||||
import { OUTPUT_SURFBOARD_DIR } from '../../constants/dir';
|
||||
import { appendSetElementsToArray } from 'foxts/append-set-elements-to-array';
|
||||
import { MARKER_DOMAIN } from '../../constants/description';
|
||||
|
||||
export class SurfboardRuleSet extends SurgeRuleSet {
|
||||
public override readonly name: string = 'surfboard for android ruleset';
|
||||
|
||||
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_SURFBOARD_DIR) {
|
||||
super(type, outputDir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user