Commit 6ae7d76e authored by 潘栩锋's avatar 潘栩锋 🚴

修改安装包

parent c21045c8
...@@ -22,10 +22,9 @@ namespace FLY.AppHelper ...@@ -22,10 +22,9 @@ namespace FLY.AppHelper
Process[] processes = Process.GetProcesses(); Process[] processes = Process.GetProcesses();
IEnumerable<Process> ps = from p in processes IEnumerable<Process> ps = from p in processes
where where
(p.Id != process.Id) &&
(p.ProcessName == process.ProcessName) && (p.ProcessName == process.ProcessName) &&
(p.Id != process.Id) && (p.MainModule.FileName == process.MainModule.FileName)
(p.MainModule.FileName == process.MainModule.FileName) &&
(p.HasExited)
select p; select p;
try try
{ {
......
...@@ -44,10 +44,10 @@ ...@@ -44,10 +44,10 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="LiveCharts, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df, processorArchitecture=MSIL"> <Reference Include="LiveCharts, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df, processorArchitecture=MSIL">
<HintPath>..\packages\LiveCharts.0.9.7\lib\net40\LiveCharts.dll</HintPath> <HintPath>..\..\packages\LiveCharts.0.9.7\lib\net40\LiveCharts.dll</HintPath>
</Reference> </Reference>
<Reference Include="LiveCharts.Wpf, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df, processorArchitecture=MSIL"> <Reference Include="LiveCharts.Wpf, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df, processorArchitecture=MSIL">
<HintPath>..\packages\LiveCharts.Wpf.0.9.7\lib\net40\LiveCharts.Wpf.dll</HintPath> <HintPath>..\..\packages\LiveCharts.Wpf.0.9.7\lib\net40\LiveCharts.Wpf.dll</HintPath>
</Reference> </Reference>
<Reference Include="PropertyChanged2, Version=2.5.13.0, Culture=neutral, PublicKeyToken=ee3ee20bcf148ddd, processorArchitecture=MSIL"> <Reference Include="PropertyChanged2, Version=2.5.13.0, Culture=neutral, PublicKeyToken=ee3ee20bcf148ddd, processorArchitecture=MSIL">
<HintPath>..\..\packages\PropertyChanged2.Fody.2.5.13\lib\net40\PropertyChanged2.dll</HintPath> <HintPath>..\..\packages\PropertyChanged2.Fody.2.5.13\lib\net40\PropertyChanged2.dll</HintPath>
......
$root_path = $PSScriptRoot
$src_path = $root_path + "\WS_local_test.xml"
$dest_dir = $root_path + "\..\..\..\..\Project.FLY.Weight\FLY.Weight.UI.Server\bin\Debug\Gage1"
$dest_path = $dest_dir + "\WS.xml"
if(-not (Test-Path $dest_dir))
{
echo $dest_dir
mkdir $dest_dir
}
echo WS.xml
cp $src_path $dest_path
echo Ƴɹ
pause
\ No newline at end of file
<?xml version="1.0"?>
<SoftwareCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DefaultInstallPath>D:\佛山市枫莱尔自动化技术有限公司\windows</DefaultInstallPath>
<Items>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>测厚仪服务器</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.Thick.Blowing.UI.Fix.Server</Path>
<Exe>FLY.Thick.Blowing.UI.Fix.Server.exe</Exe>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>测厚仪客户端</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.Thick.Blowing.UI.Fix.Client</Path>
<Exe>FLY.Thick.Blowing.UI.Fix.Client.exe</Exe>
<Others>
<string>main_module</string>
<string>music</string>
<string>版本说明.txt</string>
<string>测厚仪说明书.pdf</string>
</Others>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>自动风环</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.FeedbackRenZiJia.UI.Server</Path>
<Exe>FLY.FeedbackRenZiJia.UI.Server.exe</Exe>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>LP2</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\LP2</Path>
<Exe>FLY.LinkProxy.UI.Server.exe</Exe>
</SoftwareItem>
</Items>
</SoftwareCollection>
\ No newline at end of file
<?xml version="1.0"?>
<SoftwareCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DefaultInstallPath>D:\佛山市枫莱尔自动化技术有限公司\windows</DefaultInstallPath>
<Items>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>测厚仪服务器</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.Thick.Blowing.UI.Fix.Server</Path>
<Exe>FLY.Thick.Blowing.UI.Fix.Server.exe</Exe>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>测厚仪客户端</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.Thick.Blowing.UI.Fix.Client</Path>
<Exe>FLY.Thick.Blowing.UI.Fix.Client.exe</Exe>
<Others>
<string>main_module</string>
<string>music</string>
<string>版本说明.txt</string>
<string>测厚仪说明书.pdf</string>
</Others>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>自动风环</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.FeedbackRenZiJia.UI.Server</Path>
<Exe>FLY.FeedbackRenZiJia.UI.Server.exe</Exe>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>自动上料</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\FLY.Weight.UI.Server</Path>
<Exe>FLY.Weight.UI.Server.exe</Exe>
</SoftwareItem>
<SoftwareItem>
<IsAutoRun>true</IsAutoRun>
<Name>LP2</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\LP2</Path>
<Exe>FLY.LinkProxy.UI.Server.exe</Exe>
</SoftwareItem>
</Items>
</SoftwareCollection>
\ No newline at end of file
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
</SoftwareItem> </SoftwareItem>
<SoftwareItem> <SoftwareItem>
<IsAutoRun>true</IsAutoRun> <IsAutoRun>true</IsAutoRun>
<Name>LP2</Name> <Name>LP3</Name>
<Path>佛山市枫莱尔自动化技术有限公司\windows\LP2</Path> <Path>佛山市枫莱尔自动化技术有限公司\windows\LP3</Path>
<Exe>FLY.LinkProxy.UI.Server.exe</Exe> <Exe>FLY.LinkProxy.UI.exe</Exe>
</SoftwareItem> </SoftwareItem>
</Items> </Items>
</SoftwareCollection> </SoftwareCollection>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LPCoreService IsServer="False" CSAddr="server.flyautomation.net" CSDPort="20102" CSMPort="20101" Name="fly-00001" Password="4312">
<mLPServer />
</LPCoreService>
\ 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