# Strip upstream (ArtCraft / Discord) branding. Run: tools/craft-skills/skills/debrand/debrand.pl  (--check in CI)
delete docs/brand
# MIT/Apache texts stay verbatim. The copyright holder line stays everywhere (legal requirement).
keep ^(LICENSE-(MIT|APACHE)|\.debrand)$
dropline ^crates/ui-egui/src/i18n/.*\.tsv$ :: \t(?!Part of ArtCraft\. ).*(?:ArtCraft|Discord|getartcraft)
dropline ^ASSETS\.md$ :: \|\s*`docs/brand/
# "Part of ArtCraft." before the licence line of the About box, in every language.
sub (?<=\t)[^\t]*?ArtCraft[^\t]*?\.\s*(?=MIT) =>
sub (?s)\nThe ArtCraft name, wordmark and logos in docs/brand/.*?LICENSE-brand\.txt\.\n =>
sub \s*The ArtCraft logos in `docs/brand/` are trademarks, not open source, under `docs/brand/LICENSE-brand\.txt`: never modify them or use them outside VectorCraft\. =>
sub \bArtCraft, => 
sub (?s) The one exception is the ArtCraft name, wordmark and logos in `docs/brand/`:.*?LICENSE-brand\.txt\)\. =>
sub Original artwork drawn in ArtCraft for VectorCraft => Original artwork drawn by hand for VectorCraft
sub Project owner \(ArtCraft team\) => Project owner
sub drawn in ArtCraft and vectorised => drawn by hand and vectorised
sub the owner's original ArtCraft drawing => the owner's original drawing
sub Discord button and Help → Discord link => Chat icon
sub \(Discord feedback(?=[,)]) => (user feedback
sub Discord feedback: => User feedback:
sub \(Discord feedback\) => (user feedback)
sub Discord feedback => user feedback
sub The Discord report => The user report
sub https://getartcraft\.com/apps/vectorcraft => https://github.com/storytold/vectorcraft
sub https://discord\.gg/artcraft => https://github.com/storytold/vectorcraft/issues
forbid (?i)artcraft(?! Team and the VectorCraft contributors)
forbid (?i)discord
