Skip to content

Commit

Permalink
had the remove git on the wrong platform
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Oct 27, 2024
1 parent 23b24fc commit 7d149ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/todesktop/afterPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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(appPath,"Contents","Resources");
await fs.rm(path.join(assetPath,"ComfyUI",".git"),{recursive:true,force:true});
await fs.cp(assetPath, resourcePath, {recursive: true});
}

Expand All @@ -29,7 +30,6 @@ 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 7d149ca

Please sign in to comment.