Commit 092af1fa authored by 潘栩锋's avatar 潘栩锋 🚴

科斯林安装包资料

parent a58cf9f5
# 生成的安装包
和美安装包/
和美安装包*.zip
和美安装包*/
*安装包/
*安装包*.zip
*安装包*/
*.zip
temp_conf*/
current_is_*
\ No newline at end of file
#!/bin/bash
#获取git 最后一个 tag 的描述!!!!
#LatestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
#install_dir="和美安装包_"$LatestTag
install_dir="科斯林安装包_xxxx"
if [ -e $install_dir ]; then
rm -rf $install_dir
fi
#复制 install 到 测厚仪安装包
cp -rf install_360 $install_dir
install_dir=$install_dir"/佛山市枫莱尔自动化技术有限公司/windows"
copy_to()
{
src_dir=$1
dest_dir=$2
files=$3
#检测文件夹是否存在
#存在,删除全部数据,再新创建;
#不存在,创建。
if [ -e $dest_dir ]; then
rm -rf $dest_dir
fi
mkdir -p $dest_dir
echo 复制 $dest_dir
for f in ${files[*]}; do
file_path=$src_dir"/"$f
cp -rf $file_path $dest_dir
if [ $? != 0 ]; then
echo 复制失败
exit 1
fi
done
}
copy_to2()
{
src_dir=$1
dest_dir=$2
files=$3
src_dir=$src_dir"/bin/Debug"
dest_dir=$install_dir"/"$dest_dir
copy_to $src_dir $dest_dir $files
#第2步,复制 release_conf 对应的出厂默认配置文件
#src_dir="release_conf/"$2"/*"
#cp -Rf $src_dir $dest_dir
}
# Project.FLY.Thick.Blowing
src_dir="../Project.FLY.Thick.Blowing360/FLY.Thick.Blowing360.UI.Client"
dest_dir="FLY.Thick.Blowing360.UI.Client"
files=(\
"x64" "x86" \
"FLY.Thick.Blowing360.UI.Client.exe" \
"nlog.config" \
"default" "layout" "unity" \
)
copy_to2 $src_dir $dest_dir $files
src_dir="../Project.FLY.Thick.Blowing360/FLY.Thick.Blowing360.UI.Server"
dest_dir="FLY.Thick.Blowing360.UI.Server"
files=(\
"x64" "x86" \
"FLY.Thick.Blowing360.UI.Server.exe" \
"nlog.config" \
"Gage1" \
)
copy_to2 $src_dir $dest_dir $files
#Project.FLY.KSL
src_dir="../Project.FLY.Thick.Blowing360/FLY.KSL.UI.Server"
dest_dir="FLY.KSL.UI.Server"
files=(\
"x64" "x86" \
"FLY.KSL.UI.Server.exe" \
"nlog.config" \
"Gage1" \
)
copy_to2 $src_dir $dest_dir $files
echo 完成
\ No newline at end of file
{
"DefaultInstallPath":"D:\\佛山市枫莱尔自动化技术有限公司\\windows",
"Items":[
{
"PackPath":"佛山市枫莱尔自动化技术有限公司\\windows\\FLY.Thick.Blowing360.UI.Server",
"Exe":"FLY.Thick.Blowing360.UI.Server.exe",
"Name":"科斯林测厚仪服务器",
"IsAutoRun":true
},
{
"PackPath":"佛山市枫莱尔自动化技术有限公司\\windows\\FLY.Thick.Blowing360.UI.Client",
"Exe":"FLY.Thick.Blowing360.UI.Client.exe",
"Name":"科斯林测厚仪客户端",
"IsAutoRun":true,
"Others":[
"default",
"unity",
"music",
"测厚仪说明书.pdf"
]
},
{
"PackPath":"佛山市枫莱尔自动化技术有限公司\\windows\\FLY.KSL.UI.Server",
"Exe":"FLY.KSL.UI.Server.exe",
"Name":"科斯林加热系统",
"IsAutoRun":true
},
{
"PackPath":"佛山市枫莱尔自动化技术有限公司\\windows\\LP3",
"Exe":"FLY.LinkProxy.UI.exe",
"Name":"LP3",
"IsAutoRun":true,
"Others":null
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment