Skip to content

Commit

Permalink
remove .git this way
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Oct 27, 2024
1 parent 9221dbb commit 23b24fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/todesktop/afterPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = async ({ appOutDir, packager,outDir }) => {
const mainPath = path.dirname(outDir);
const assetPath = path.join(mainPath,'app-wrapper','app','assets');
const resourcePath = path.join(path.dirname(appPath),"resources");
await fs.rm(path.join(assetPath,"ComfyUI",".git"),{recursive:true,force:true});
await fs.cp(assetPath, resourcePath, {recursive: true});
}
}

0 comments on commit 23b24fc

Please sign in to comment.