zcy 2024-03-26 01:53:37 +08:00
parent 2611df4898
commit bf45e25f9f
2 changed files with 16 additions and 1 deletions

View File

@ -1098,8 +1098,13 @@ class AltiumSchematicRenderer
"shape=label;fontSize=6;"); "shape=label;fontSize=6;");
v11.geometry.relative = false; v11.geometry.relative = false;
v11.setConnectable(false); v11.setConnectable(false);
if(obj.owner_record_index != 1) if(obj.owner_record_index != 1){
if(chips[obj.owner_record_index] == undefined){
chips[obj.owner_record_index] = []
}
chips[obj.owner_record_index].push(v11) chips[obj.owner_record_index].push(v11)
}
} }

10
deploy.bat Normal file
View File

@ -0,0 +1,10 @@
rm ../code.tar.gz
del ../code.tar.gz
tar.exe -czf ../code.tar.gz ./*
@REM scp -i ./id_rsa_s ../code.tar.gz ubuntu@117.50.187.222:/home/ubuntu/
@REM ssh -t -i ./id_rsa_s ubuntu@117.50.187.222 sudo tar -zxvf /home/ubuntu/code.tar.gz -C /var/www/html/api/
@REM ssh -t -i ./id_rsa_s ubuntu@117.50.187.222 sudo rm /home/ubuntu/code.tar.gz
scp -i g://sub1.testingcloud.club_id_ed25519 ../code.tar.gz root@47.92.237.210:/www/server/phpmyadmin
ssh -t -i g://sub1.testingcloud.club_id_ed25519 root@47.92.237.210 sudo tar -zxvf /www/server/phpmyadmin/code.tar.gz -C /www/server/phpmyadmin/altium
ssh -t -i g://sub1.testingcloud.club_id_ed25519 root@47.92.237.210 sudo rm /www/server/phpmyadmin/code.tar.gz