Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: huangziyi <[email protected]>
  • Loading branch information
MrThanlon committed Dec 25, 2023
1 parent bb71f71 commit 03a608c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 25 deletions.
14 changes: 7 additions & 7 deletions dist/installer/ifw/config/config-linux.xml.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
<Installer>
<Name>OpenMV IDE</Name>
<Name>CanMV IDE</Name>
<Version>{version}</Version>
<Title>OpenMV IDE {display_version}</Title>
<Publisher>OpenMV, LLC</Publisher>
<ProductUrl>https://openmv.io</ProductUrl>
<Title>CanMV IDE {display_version}</Title>
<Publisher>Canaan Inc.</Publisher>
<ProductUrl>https://www.canaan.io</ProductUrl>

<MaintenanceToolName>OpenMVIDEUninstaller</MaintenanceToolName>
<TargetDir>@homeDir@/openmvide</TargetDir>
<AdminTargetDir>/opt/openmvide</AdminTargetDir>
<MaintenanceToolName>CanMVIDEUninstaller</MaintenanceToolName>
<TargetDir>@homeDir@/canmvide</TargetDir>
<AdminTargetDir>/opt/canmvide</AdminTargetDir>
<ControlScript>controlscript.qs</ControlScript>
</Installer>
12 changes: 6 additions & 6 deletions dist/installer/ifw/config/config-mac.xml.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
<Installer>
<Name>OpenMV IDE</Name>
<Name>CanMV IDE</Name>
<Version>{version}</Version>
<Title>OpenMV IDE {display_version}</Title>
<Publisher>OpenMV, LLC</Publisher>
<ProductUrl>https://openmv.io</ProductUrl>
<Title>CanMV IDE {display_version}</Title>
<Publisher>Canaan Inc.</Publisher>
<ProductUrl>https://www.canaan.io</ProductUrl>

<MaintenanceToolName>Uninstall OpenMV IDE</MaintenanceToolName>
<TargetDir>@homeDir@/Applications/OpenMV IDE</TargetDir>
<MaintenanceToolName>Uninstall CanMV IDE</MaintenanceToolName>
<TargetDir>@homeDir@/Applications/CanMV IDE</TargetDir>
<AllowSpaceInPath>true</AllowSpaceInPath>
<ControlScript>controlscript.qs</ControlScript>
</Installer>
14 changes: 7 additions & 7 deletions dist/installer/ifw/config/config-windows.xml.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
<Installer>
<Name>OpenMV IDE</Name>
<Name>CanMV IDE</Name>
<Version>{version}</Version>
<Title>OpenMV IDE {display_version}</Title>
<Publisher>OpenMV, LLC</Publisher>
<ProductUrl>https://openmv.io</ProductUrl>
<Title>CanMV IDE {display_version}</Title>
<Publisher>Canaan Inc.</Publisher>
<ProductUrl>https://www.canaan.io</ProductUrl>

<MaintenanceToolName>OpenMVIDEUninst</MaintenanceToolName>
<TargetDir>@ApplicationsDir@/OpenMV IDE</TargetDir>
<StartMenuDir>OpenMV IDE</StartMenuDir>
<MaintenanceToolName>CanMVIDEUninst</MaintenanceToolName>
<TargetDir>@ApplicationsDir@/CanMV IDE</TargetDir>
<StartMenuDir>CanMV IDE</StartMenuDir>
<ControlScript>controlscript.qs</ControlScript>
</Installer>
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ Component.prototype.createOperations = function()
"@TargetDir@/OpenMVIDEUninst.exe",
"@StartMenuDir@/Uninstall.lnk",
"workingDirectory=@homeDir@" );
component.addElevatedOperation("Execute", "{2,512}", "cmd", "/c", "@TargetDir@\\share\\qtcreator\\drivers\\ftdi\\ftdi.cmd");
component.addElevatedOperation("Execute", "{1,256}", "cmd", "/c", "@TargetDir@\\share\\qtcreator\\drivers\\openmv\\openmv.cmd");
component.addElevatedOperation("Execute", "{2,768}", "cmd", "/c", "@TargetDir@\\share\\qtcreator\\drivers\\arduino\\arduino.cmd");
// component.addElevatedOperation("Execute", "{1,256}", "cmd", "/c", "@TargetDir@\\share\\qtcreator\\drivers\\pybcdc\\pybcdc.cmd");
component.addElevatedOperation("Execute", "{1,256}", "cmd", "/c", "@TargetDir@\\share\\qtcreator\\drivers\\dfuse.cmd");
component.addElevatedOperation("Execute", "{0,3010}", "cmd", "/c", "@TargetDir@\\share\\qtcreator\\drivers\\vcr.cmd");
}
if ( installer.value("os") == "x11" )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<item>
<widget class="QCheckBox" name="launchQtCreatorCheckBox">
<property name="text">
<string>Launch OpenMV IDE</string>
<string>Launch CanMV IDE</string>
</property>
<property name="checked">
<bool>true</bool>
Expand Down

0 comments on commit 03a608c

Please sign in to comment.