zcy 2024-03-26 17:58:15 +08:00
commit 84becb9581
2 changed files with 16 additions and 1 deletions

View File

@ -1125,8 +1125,13 @@ class AltiumSchematicRenderer
"shape=label;fontSize=6;");
v11.geometry.relative = 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)
}
}

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