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 29, 2023
1 parent 311aa36 commit 04824de
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
14 changes: 7 additions & 7 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit 04824de

Please sign in to comment.