mirror of
https://github.com/GetOpenScript/GitHub.openscript.git
synced 2026-09-18 08:25:42 +00:00
Group meaningful icons resources
This commit is contained in:
@@ -33,7 +33,7 @@ OpenScript downloads and caches the declared JSZip `@require` when the script is
|
||||
|
||||
### Meaningful Icons for GitHub
|
||||
|
||||
[`meaningful-icons.os.js`](./meaningful-icons.os.js) replaces GitHub's generic file and folder glyphs with type-aware Material icons.
|
||||
[`meaningful-icons/meaningful-icons.os.js`](./meaningful-icons/meaningful-icons.os.js) replaces GitHub's generic file and folder glyphs with type-aware Material icons.
|
||||
|
||||
- Recognizes file names, compound extensions, folders, submodules, symlinks, and GitHub Actions workflows.
|
||||
- Works in repository listings, the file tree, and release download lists.
|
||||
@@ -41,7 +41,7 @@ OpenScript downloads and caches the declared JSZip `@require` when the script is
|
||||
- Uses a vendored copy of the same MIT-licensed Material Icon Theme data and SVG assets as the credited Material Icons for GitHub extension.
|
||||
- Downloads only the icons a page needs from this repository, falls back to the pinned npm package, then caches them in per-script OpenScript storage.
|
||||
|
||||
No asset folder or manual icon download is needed when installing the script. Its vendored assets live in [`vendor/material-icon-theme-5.38.1`](./vendor/material-icon-theme-5.38.1) and are loaded from `raw.githubusercontent.com`; `cdn.jsdelivr.net` is a redundant fallback. Previously cached icons remain available if both hosts are temporarily unreachable. The script and vendor directory contain the upstream copyright notices, licenses, credits, and third-party licensing references.
|
||||
No asset folder or manual icon download is needed when installing the script. The script and all its resources live together in [`meaningful-icons/`](./meaningful-icons) and are loaded from `raw.githubusercontent.com`; the pinned `material-icon-theme@5.38.1` package on `cdn.jsdelivr.net` is a redundant fallback. Previously cached icons remain available if both hosts are temporarily unreachable. The feature directory contains the upstream copyright notices, licenses, credits, and third-party licensing references.
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user