diff options
author | felinae98 | 2020-08-05 00:03:06 +0800 |
---|---|---|
committer | felinae98 | 2020-08-05 00:05:04 +0800 |
commit | adcd774382e7a44b89da38211329f18b5ad82c8e (patch) | |
tree | 1d1f24fe27cc150316aa6684a26af4203d88a436 | |
parent | c642e40ba125aef22119bf26b1bf1a85890b3d8a (diff) | |
download | aur-adcd774382e7a44b89da38211329f18b5ad82c8e.tar.gz |
update clash config file style
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | clashup | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ pkgbase = clashup depends = python-requests source = clashup source = clashup.conf - md5sums = baaa9b4feb4f5500bad97feb4cc259c7 + md5sums = 0e7c428edc816942248cc9dedd5b6b30 md5sums = 177338346005e11d33e27edc1f8ab780 pkgname = clashup @@ -14,5 +14,5 @@ package() { install -Dm755 clashup ${pkgdir}/usr/bin/clashup install -Dm644 clashup.conf ${pkgdir}/etc/systemd/user/clash.service.d/clashup.conf } -md5sums=('baaa9b4feb4f5500bad97feb4cc259c7' +md5sums=('0e7c428edc816942248cc9dedd5b6b30' '177338346005e11d33e27edc1f8ab780') @@ -70,7 +70,7 @@ class ClashUp: self._load_conf(config, 'allow_lan', 'allow-lan') self._load_conf(config, 'external_controller', 'external-controller') for rule in self.config.get('custom_rules', []): - config['Rule'].append(rule) + config['rules'].append(rule) return config def save(self, config): |