Skip to content

Commit

Permalink
fix!: remove the vnd. prefix from mimetype to solve differences int…
Browse files Browse the repository at this point in the history
…roduced in the newest version of `file(1)` 5.46 (#1995)
  • Loading branch information
sxyazi committed Dec 5, 2024
1 parent c7d9265 commit fbf9b3d
Show file tree
Hide file tree
Showing 7 changed files with 479 additions and 254 deletions.
2 changes: 1 addition & 1 deletion scripts/icons/generate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function dump(map)
end

function save(typ, files, exts)
local p = string.format("../../yazi-config/preset/theme+%s.toml", typ)
local p = string.format("../../yazi-config/preset/theme-%s.toml", typ)
local s = io.open(p, "r"):read("*a")
s = s:gsub("files = %[\n(.-)\n%]", string.format("files = [\n%s]", files))
s = s:gsub("exts = %[\n(.-)\n%]", string.format("exts = [\n%s]", exts))
Expand Down
229 changes: 0 additions & 229 deletions yazi-config/preset/theme-base.toml

This file was deleted.

Loading

0 comments on commit fbf9b3d

Please sign in to comment.