πMaking changes to Dot
Adding features or changing things in the Dot Browser source code can be quite complex at first, so this doc should make it easier to understand.
Last updated
Was this helpful?
Was this helpful?
import { IPatch } from "./interfaces/patch";
const manualPatches: IPatch[] = [
{
name: "branding", // name of the manual patch
action: "copy", // what action we want to do
src: "browser/branding/dot" // this will copy common/browser/branding/dot to src/browser/branding/dot
},
{
name: "dotui",
action: "copy",
src: [
"browser/themes/shared/dotui",
"browser/themes/windows/dotui",
"browser/themes/osx/dotui",
"browser/themes/linux/dotui"
]
},
...
];
export default manualPatches;{
name: "my new manual patch",
action: "copy",
src: "browser/testing.txt"
},