Skip to content

Commit 511529b

Browse files
committed
feat: add curses support for enhanced terminal navigation
1 parent fd3d4b1 commit 511529b

File tree

6 files changed

+274
-25
lines changed

6 files changed

+274
-25
lines changed

.github/FSAR-windows.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ a = Analysis(
77
pathex=[],
88
binaries=[],
99
datas=[('../chime.mp3', '.')],
10-
hiddenimports=[],
10+
hiddenimports=['curses', '_curses'],
1111
hookspath=[],
1212
hooksconfig={},
1313
runtime_hooks=[],

.github/workflows/release.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,27 @@ jobs:
4040
pip install pyinstaller
4141
shell: bash
4242

43+
- name: Verify dependencies
44+
run: |
45+
echo "Installed packages:"
46+
pip list
47+
echo "Testing imports..."
48+
python -c "import watchdog; print('watchdog: OK')"
49+
python -c "import rich; print('rich: OK')"
50+
python -c "try: import curses; print('curses: OK'); except ImportError as e: print('curses: FAILED -', e)"
51+
shell: bash
52+
4353
- name: Build executable with PyInstaller
4454
run: |
4555
if [ "${{ matrix.os }}" = "windows-latest" ]; then
56+
echo "Building Windows executable with spec file..."
4657
pyinstaller .github/FSAR-windows.spec
4758
else
48-
pyinstaller ${{ matrix.pyinstaller_args }} --icon logo.ico --name ${{ matrix.artifact_name }} FSAR.py
59+
echo "Building ${{ matrix.os }} executable..."
60+
pyinstaller ${{ matrix.pyinstaller_args }} --icon logo.ico --name ${{ matrix.artifact_name }} --hidden-import curses --hidden-import _curses FSAR.py
4961
fi
62+
echo "Build completed. Contents of dist directory:"
63+
ls -la dist/
5064
shell: bash
5165

5266
- name: Upload artifact

0 commit comments

Comments
 (0)