Skip to content

Commit

Permalink
fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Sep 1, 2024
1 parent b15ec0d commit ae5f4bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/CI_build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:

- name: install dependencies
run: |
sudo apt install alsa-base
python3 -m pip install pyinstaller simpleaudio setuptools
- name: Build CI
Expand Down
5 changes: 4 additions & 1 deletion package/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
# Initialize the options for PyInstaller
options = "--onefile --windowed --hidden-import=simpleaudio --add-data=tools/windows:tools/windows --add-data bootloaders:bootloaders --add-data probes:probes"

shutil.rmtree("dist")
try:
shutil.rmtree("dist")
except Exception:
pass

# Get the list of subdirectories in the MCU directory
if os.path.exists(MCUPath):
Expand Down

0 comments on commit ae5f4bf

Please sign in to comment.