Desktop: Resolves #7934: Add Simple Backup as a default plugin (#9360)

This commit is contained in:
Henry Heino
2023-12-11 05:58:45 -08:00
committed by GitHub
parent 6306a0f371
commit 4fc786cf0b
42 changed files with 754 additions and 378 deletions

View File

@@ -0,0 +1,9 @@
import { join, dirname } from 'path';
const getPathToPatchFileFor = (pluginName: string) => {
const rootDir = dirname(__dirname);
return join(rootDir, 'plugin-patches', `${pluginName}.diff`);
};
export default getPathToPatchFileFor;