Skip to content

Commit

Permalink
new things to try
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Oct 24, 2024
1 parent dbacc93 commit c5e8e0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions scripts/signPython.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
python -m pip install --upgrade pip
wait
pip install comfy-cli
wait
cd ..
cd ../..
echo $(dirname $0)
cd assets
comfy --skip-prompt --here install --fast-deps --m-series --manager-url https://github.com/Comfy-Org/manager-core
Expand Down
2 changes: 1 addition & 1 deletion scripts/todesktop/beforeInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = async ({ pkgJsonPath, pkgJson, appDir, hookName }) => {

if (os.platform() === "win32")
{
const result1 = execSync('curl https://www.python.org/ftp/python/3.12.7/python-3.12.7-amd64.exe',execOutput).toString();
const result1 = execSync('curl -s https://www.python.org/ftp/python/3.12.7/python-3.12.7-amd64.exe',execOutput).toString();
console.log(result1);
const result2 = execSync('./python-3.12.7-amd64.exe /quiet PrependPath=1 Include_test=0',execOutput).toString();
console.log(result2);
Expand Down
8 changes: 4 additions & 4 deletions scripts/todesktop/postInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ async function postInstall() {

if (os.platform() === "darwin") {
console.log("mac ver");
const result1 = execSync(`ls`, execOutput).toString();
console.log(result1);
const result = execSync(`export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin && sh ${path.join(dirPath, 'scripts', 'signPython.sh')}`, execOutput).toString();
console.log("finish python");

const result = execSync(`sh ${path.join(dirPath, 'scripts', 'signPython.sh')}`, execOutput).toString();
console.log(result);
console.log("finish python");
}
};

Expand Down

0 comments on commit c5e8e0e

Please sign in to comment.