From 04824debbf0615d2ae94eedb8775c6f6bcc37eb7 Mon Sep 17 00:00:00 2001 From: huangziyi Date: Fri, 29 Dec 2023 16:44:43 +0800 Subject: [PATCH] update Signed-off-by: huangziyi --- .github/workflows/main.yml | 8 ++++---- make.py | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 688e818..a598531 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -177,11 +177,11 @@ jobs: if: matrix.map.host == 'linux' run: | sudo apt-get install -y chrpath - python make.py + #python make.py python make.py --no-build-installer - version=$(ls build | grep -oP 'openmv-ide-linux-x86_64-\K[0-9]+\.[0-9]+\.[0-9]+(?=\.run)') - cd qt-creator/share/qtcreator - zip -r ../../../build/openmv-ide-resources-${version}.zip examples firmware html models + #version=$(ls build | grep -oP 'openmv-ide-linux-x86_64-\K[0-9]+\.[0-9]+\.[0-9]+(?=\.run)') + #cd qt-creator/share/qtcreator + #zip -r ../../../build/openmv-ide-resources-${version}.zip examples firmware html models - name: '🏗 Build IDE on Mac' if: matrix.map.host == 'mac' diff --git a/make.py b/make.py index 9b2e8d0..6bf9db1 100755 --- a/make.py +++ b/make.py @@ -471,9 +471,9 @@ def make(): sys.exit("Make Failed...") else: with open(os.path.join(installdir, "README.txt"), 'w') as f: - f.write("Please run setup.sh to install OpenMV IDE dependencies:\n\n") + f.write("Please run setup.sh to install CanMV IDE dependencies:\n\n") f.write(" ./setup.sh\n\n") - f.write("And then run OpenMV IDE:\n\n") + f.write("And then run CanMV IDE:\n\n") f.write(" ./bin/openmvide\n") with open(os.path.join(installdir, "setup.sh"), 'w') as f: f.write("#! /bin/sh\n\n") @@ -491,13 +491,13 @@ def make(): f.write("cat > \"/home/$USER/Desktop/openmvide.desktop\" << EOM\n") f.write("[Desktop Entry]\n") f.write("Type=Application\n") - f.write("Name=OpenMV IDE\n") - f.write("GenericName=OpenMV IDE\n") - f.write("Comment=The IDE of choice for OpenMV Cam Development.\n") + f.write("Name=CanMV IDE\n") + f.write("GenericName=CanMV IDE\n") + f.write("Comment=The IDE of choice for CanMV Cam Development.\n") f.write("Exec=\"$DIR/bin/openmvide\" %F\n") - f.write("Icon=OpenMV-openmvide\n") + f.write("Icon=CanMV-canmvide\n") f.write("Terminal=false\n") - f.write("Categories=Development;IDE;Electronics;OpenMV;\n") + f.write("Categories=Development;IDE;Electronics;CanMV;\n") f.write("MimeType=text/x-python;\n") f.write("Keywords=embedded electronics;electronics;microcontroller;micropython;computer vision;machine vision;\n") f.write("StartupWMClass=openmvide\n")