misc: copy all clashx files

This commit is contained in:
mrFq1
2023-05-25 23:20:44 +08:00
parent edc1529027
commit bbaf15f5b8
12 changed files with 1371 additions and 83 deletions
@@ -0,0 +1,15 @@
//
// String+Encode.swift
// ClashX
//
// Created by yicheng on 2019/12/11.
// Copyright © 2019 west2online. All rights reserved.
//
import Cocoa
extension String {
var encoded: String {
return addingPercentEncoding(withAllowedCharacters: .urlHostAllowed) ?? ""
}
}