         return format == .normal ? "\(version) (\(build))" : "\(version).\(build)"
     }
 
+}
+
+
+extension RGAppTools where Base: Bundle {
+
+    /// Main Bundle 路径
+    public static var mainBundlePath: String {
+        return Bundle.main.bundlePath
+    }
+
     public static var mainBundleVersion: String? {
         let version = Bundle.main.rat.version
         return version

    case dot
}

extension RGAppTools where Base: Bundle {
    
    /// Main Bundle 路径
    public static var mainBundlePath: String {
        return Bundle.main.bundlePath
    }
    
    /// 应用版本号
    public static var appVersion: String {

    {
        return Bundle.main.path(forResource: name, ofType: ext)
    }

    /// 获取 Main Bundle 中文件内的字符串
    /// - Parameters:
    ///   - name: 文件名
