Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
hemei
Commits
dcc1d7d3
Commit
dcc1d7d3
authored
May 06, 2024
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 江阴双亿03 安装包
parent
ff3f83fe
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
240 additions
and
49 deletions
+240
-49
FLY.Winder.BeiJiaDe.UI.Server.csproj
...r.BeiJiaDe.UI.Server/FLY.Winder.BeiJiaDe.UI.Server.csproj
+2
-2
Resources.Designer.cs
...inder.BeiJiaDe.UI.Server/Properties/Resources.Designer.cs
+24
-31
Settings.Designer.cs
...Winder.BeiJiaDe.UI.Server/Properties/Settings.Designer.cs
+13
-16
2.get_release.sh
脚本.江阴双亿03/2.get_release.sh
+153
-0
install.json
脚本.江阴双亿03/install.json
+48
-0
No files found.
Project.FLY.Winder/FLY.Winder.BeiJiaDe.UI.Server/FLY.Winder.BeiJiaDe.UI.Server.csproj
View file @
dcc1d7d3
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{6D8C7B03-7908-42CE-AD04-EE51ADAEDAD5}
</ProjectGuid>
<ProjectGuid>
{6D8C7B03-7908-42CE-AD04-EE51ADAEDAD5}
</ProjectGuid>
<OutputType>
WinExe
</OutputType>
<OutputType>
WinExe
</OutputType>
<RootNamespace>
FLY.Winder.B
anNaiT
e.UI.Server
</RootNamespace>
<RootNamespace>
FLY.Winder.B
eiJiaD
e.UI.Server
</RootNamespace>
<AssemblyName>
FLY.Winder.B
anNaiT
e.UI.Server
</AssemblyName>
<AssemblyName>
FLY.Winder.B
eiJiaD
e.UI.Server
</AssemblyName>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<TargetFrameworkVersion>
v4.6.1
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<FileAlignment>
512
</FileAlignment>
<ProjectTypeGuids>
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
</ProjectTypeGuids>
<ProjectTypeGuids>
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
</ProjectTypeGuids>
...
...
Project.FLY.Winder/FLY.Winder.BeiJiaDe.UI.Server/Properties/Resources.Designer.cs
View file @
dcc1d7d3
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// <auto-generated>
// 此代码由工具生成。
// 此代码由工具生成。
// 运行时版本:
4.0.30319.42000
// 运行时版本:4.0.30319.42000
//
//
// 对此文件的更改可能
导致不正确的行为,
如果
// 对此文件的更改可能
会导致不正确的行为,并且
如果
// 重新生成代码,
则所做更改将
丢失。
// 重新生成代码,
这些更改将会
丢失。
// </auto-generated>
// </auto-generated>
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
namespace
FLY.Winder.BeiJiaDe.UI.Server.Properties
{
namespace
FLY.Winder.BeiJiaDe.UI.Server.Properties
using
System
;
{
/// <summary>
/// <summary>
///
强类型资源类,用于查找本地化
字符串等。
///
一个强类型的资源类,用于查找本地化的
字符串等。
/// </summary>
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或
删
除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// 若要添加或
移
除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
// (以 /str 作为命令选项),或重新生成 VS 项目。
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"
4
.0.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"
16
.0.0.0"
)]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
internal
class
Resources
internal
class
Resources
{
{
private
static
global
::
System
.
Resources
.
ResourceManager
resourceMan
;
private
static
global
::
System
.
Resources
.
ResourceManager
resourceMan
;
private
static
global
::
System
.
Globalization
.
CultureInfo
resourceCulture
;
private
static
global
::
System
.
Globalization
.
CultureInfo
resourceCulture
;
[
global
::
System
.
Diagnostics
.
CodeAnalysis
.
SuppressMessageAttribute
(
"Microsoft.Performance"
,
"CA1811:AvoidUncalledPrivateCode"
)]
[
global
::
System
.
Diagnostics
.
CodeAnalysis
.
SuppressMessageAttribute
(
"Microsoft.Performance"
,
"CA1811:AvoidUncalledPrivateCode"
)]
internal
Resources
()
internal
Resources
()
{
{
}
}
/// <summary>
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// 返回此类使用的缓存
的
ResourceManager 实例。
/// </summary>
/// </summary>
[
global
::
System
.
ComponentModel
.
EditorBrowsableAttribute
(
global
::
System
.
ComponentModel
.
EditorBrowsableState
.
Advanced
)]
[
global
::
System
.
ComponentModel
.
EditorBrowsableAttribute
(
global
::
System
.
ComponentModel
.
EditorBrowsableState
.
Advanced
)]
internal
static
global
::
System
.
Resources
.
ResourceManager
ResourceManager
internal
static
global
::
System
.
Resources
.
ResourceManager
ResourceManager
{
{
get
{
get
if
(
object
.
ReferenceEquals
(
resourceMan
,
null
))
{
{
if
((
resourceMan
==
null
))
{
global
::
System
.
Resources
.
ResourceManager
temp
=
new
global
::
System
.
Resources
.
ResourceManager
(
"FLY.Winder.BeiJiaDe.UI.Server.Properties.Resources"
,
typeof
(
Resources
).
Assembly
);
global
::
System
.
Resources
.
ResourceManager
temp
=
new
global
::
System
.
Resources
.
ResourceManager
(
"FLY.Winder.BeiJiaDe.UI.Server.Properties.Resources"
,
typeof
(
Resources
).
Assembly
);
resourceMan
=
temp
;
resourceMan
=
temp
;
}
}
return
resourceMan
;
return
resourceMan
;
}
}
}
}
/// <summary>
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性,对
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写。
/// 使用此强类型资源类的所有资源查找执行重写。
/// </summary>
/// </summary>
[
global
::
System
.
ComponentModel
.
EditorBrowsableAttribute
(
global
::
System
.
ComponentModel
.
EditorBrowsableState
.
Advanced
)]
[
global
::
System
.
ComponentModel
.
EditorBrowsableAttribute
(
global
::
System
.
ComponentModel
.
EditorBrowsableState
.
Advanced
)]
internal
static
global
::
System
.
Globalization
.
CultureInfo
Culture
internal
static
global
::
System
.
Globalization
.
CultureInfo
Culture
{
{
get
{
get
{
return
resourceCulture
;
return
resourceCulture
;
}
}
set
set
{
{
resourceCulture
=
value
;
resourceCulture
=
value
;
}
}
}
}
...
...
Project.FLY.Winder/FLY.Winder.BeiJiaDe.UI.Server/Properties/Settings.Designer.cs
View file @
dcc1d7d3
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// <auto-generated>
//
This code was generated by a tool.
//
此代码由工具生成。
//
Runtime Version
:4.0.30319.42000
//
运行时版本
:4.0.30319.42000
//
//
//
Changes to this file may cause incorrect behavior and will be lost if
//
对此文件的更改可能会导致不正确的行为,并且如果
//
the code is regenerated.
//
重新生成代码,这些更改将会丢失。
// </auto-generated>
// </auto-generated>
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
namespace
FLY.Winder.BeiJiaDe.UI.Server.Properties
{
namespace
FLY.Winder.BeiJiaDe.UI.Server.Properties
{
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"11.0.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator"
,
"16.10.0.0"
)]
internal
sealed
partial
class
Settings
:
global
::
System
.
Configuration
.
ApplicationSettingsBase
internal
sealed
partial
class
Settings
:
global
::
System
.
Configuration
.
ApplicationSettingsBase
{
{
private
static
Settings
defaultInstance
=
((
Settings
)(
global
::
System
.
Configuration
.
ApplicationSettingsBase
.
Synchronized
(
new
Settings
())));
private
static
Settings
defaultInstance
=
((
Settings
)(
global
::
System
.
Configuration
.
ApplicationSettingsBase
.
Synchronized
(
new
Settings
())));
public
static
Settings
Default
public
static
Settings
Default
{
{
get
{
get
{
return
defaultInstance
;
return
defaultInstance
;
}
}
}
}
...
...
脚本.江阴双亿03/2.get_release.sh
0 → 100644
View file @
dcc1d7d3
#!/bin/bash
#获取git 最后一个 tag 的描述!!!!
#LatestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
#install_dir="和美安装包_"$LatestTag
version
=
$1
if
[
-z
"
$version
"
]
;
then
echo
"format error: version is empty"
echo
"Usage: ./2.get_release.sh 7.3.0"
exit
fi
install_dir
=
"江阴双亿03安装包"
# 对 $install_dir_root 重命名为 ${install_dir_root}_v${version}_yyyyMMdd
# date参考 https://www.cnblogs.com/zuiyue_jing/p/12557430.html
suffix
=
$(
date
+%Y%m%d
)
install_dir
=
${
install_dir
}
_v
${
version
}
_
${
suffix
}
install_dir_root
=
$install_dir
if
[
-e
$install_dir
]
;
then
rm
-rf
$install_dir
fi
#复制 install 到 测厚仪安装包
cp
-rf
../脚本/install
$install_dir
#复制 install.json 到 测厚仪安装包
cp
install.json
$install_dir
#复制 版本描述
cp
../脚本/版本描述.md
$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
if
[
!
-d
$src_dir
]
;
then
return
fi
src_dir
=
$src_dir
"/*"
cp
-Rf
$src_dir
$dest_dir
}
#Project.FLY.FeedbackRenZiJia
src_dir
=
"../Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia.UI.Server"
dest_dir
=
"FLY.FeedbackRenZiJia.UI.Server"
files
=(
\
"x64"
"x86"
\
"FLY.FeedbackRenZiJia.UI.Server.exe"
\
"nlog.config"
\
)
copy_to2
$src_dir
$dest_dir
$files
#Project.FLY.Winder
src_dir
=
"../Project.FLY.Winder/FLY.Winder.BeiJiaDe.UI.Server"
dest_dir
=
"FLY.Winder.BeiJiaDe.UI.Server"
files
=(
\
"FLY.Winder.BeiJiaDe.UI.Server.exe"
\
)
copy_to2
$src_dir
$dest_dir
$files
# Project.FLY.Thick.BlowingScan
src_dir
=
"../Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Client"
dest_dir
=
"FLY.Thick.BlowingScan.UI.Client"
files
=(
\
"x64"
"x86"
\
"FLY.Thick.BlowingScan.UI.Client.exe"
\
"nlog.config"
\
)
copy_to2
$src_dir
$dest_dir
$files
src_dir
=
"../Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Server"
dest_dir
=
"FLY.Thick.BlowingScan.UI.Server"
files
=(
\
"x64"
"x86"
\
"FLY.Thick.BlowingScan.UI.Server.exe"
\
"nlog.config"
\
)
copy_to2
$src_dir
$dest_dir
$files
src_dir
=
"../Project.FLY.Blowing.DbViewer/FLY.Blowing.DbViewer"
dest_dir
=
"FLY.Blowing.DbViewer"
files
=(
\
"x64"
"x86"
\
"FLY.Blowing.DbViewer.exe"
\
)
copy_to2
$src_dir
$dest_dir
$files
# 修改 $install_dir_root/install.json 中的版本号
# 参考 https://www.cnblogs.com/thePeaceOftheLord/p/11107737.html
# 正则表达式 https://www.cnblogs.com/zd520pyx1314/p/6061339.html
sed
-i
's/"InstallZipVersion":".*"/"InstallZipVersion":"'
${
version
}
'"/g'
${
install_dir_root
}
/install.json
# 复制 $install_dir_root/install.json 到 $install_dir/FLY.Thick.Blowing.UI.Fix.Client/update
cp
${
install_dir_root
}
/install.json
$install_dir
/FLY.Thick.BlowingScan.UI.Client/update
fileName7z
=
${
install_dir_root
}
.7z
if
[
-e
$fileName7z
]
;
then
rm
$fileName7z
fi
# 进入安装包内 用7z压缩
cd
${
install_dir_root
}
"C:
\P
rogram Files
\7
-Zip
\7
z.exe"
a ../
${
fileName7z
}
./
*
cd
..
echo
完成
\ No newline at end of file
脚本.江阴双亿03/install.json
0 → 100644
View file @
dcc1d7d3
{
"InstallZipVersion"
:
"6.34.0"
,
"NewestInstallZipVersionInfoPath"
:
"http://server.flyautomation.net:8889/download/hemeiInstallZipVersionInfo.json"
,
"DefaultNewestInstallZipPath"
:
"D:
\\
测厚仪软件"
,
"DefaultInstallPath"
:
"D:
\\
佛山市枫莱尔自动化技术有限公司
\\
windows"
,
"Items"
:[
{
"PackPath"
:
"佛山市枫莱尔自动化技术有限公司
\\
windows
\\
FLY.Thick.BlowingScan.UI.Server"
,
"Exe"
:
"FLY.Thick.BlowingScan.UI.Server.exe"
,
"Name"
:
"扫描测厚仪服务器"
,
"IsAutoRun"
:
true
},
{
"PackPath"
:
"佛山市枫莱尔自动化技术有限公司
\\
windows
\\
FLY.Thick.BlowingScan.UI.Client"
,
"Exe"
:
"FLY.Thick.BlowingScan.UI.Client.exe"
,
"Name"
:
"扫描测厚仪客户端"
,
"IsAutoRun"
:
true
,
"Others"
:[
"default"
,
"unity"
,
"music"
,
"update"
,
"测厚仪说明书.pdf"
]
},
{
"PackPath"
:
"佛山市枫莱尔自动化技术有限公司
\\
windows
\\
FLY.FeedbackRenZiJia.UI.Server"
,
"Exe"
:
"FLY.FeedbackRenZiJia.UI.Server.exe"
,
"Name"
:
"自动风环"
,
"IsAutoRun"
:
true
},
{
"PackPath"
:
"佛山市枫莱尔自动化技术有限公司
\\
windows
\\
FLY.Winder.BeiJiaDe.UI.Server"
,
"Exe"
:
"FLY.Winder.BeiJiaDe.UI.Server.exe"
,
"Name"
:
"旋转信号采集"
,
"IsAutoRun"
:
true
},
{
"PackPath"
:
"佛山市枫莱尔自动化技术有限公司
\\
windows
\\
LP3"
,
"Exe"
:
"FLY.LinkProxy.UI.exe"
,
"Name"
:
"LP3"
,
"IsAutoRun"
:
true
}
]
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment