add cbz support
This commit is contained in:
		@@ -84,6 +84,24 @@ var Valid = []FileDescription{
 | 
			
		||||
		OSTypes:          []string{"WEBP"},
 | 
			
		||||
		ItemContentTypes: "org.webmproject.webp",
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		TkTypeName:       "CBZ",
 | 
			
		||||
		MacExtensions:    []string{"cbz", "CBZ"},
 | 
			
		||||
		IconFile:         "cbz.icns",
 | 
			
		||||
		MIMETypes:        []string{"application/vnd.comicbook+zip", "application/x-cbz"},
 | 
			
		||||
		TypeName:         "Comic Book Zip Archive",
 | 
			
		||||
		OSTypes:          []string{"CBZ"},
 | 
			
		||||
		ItemContentTypes: "in.yetaga.why.cbz",
 | 
			
		||||
	},
 | 
			
		||||
	{
 | 
			
		||||
		TkTypeName:       "CBR",
 | 
			
		||||
		MacExtensions:    []string{"cbr", "CBR"},
 | 
			
		||||
		IconFile:         "cbr.icns",
 | 
			
		||||
		MIMETypes:        []string{"application/vnd.comicbook-rar", "application/x-cbr"},
 | 
			
		||||
		TypeName:         "Comic Book Rar Archive",
 | 
			
		||||
		OSTypes:          []string{"CBR"},
 | 
			
		||||
		ItemContentTypes: "in.yetaga.why.cbr",
 | 
			
		||||
	},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func GetTkTypes(fds []FileDescription) []tk.FileType {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user