Skip to content

Commit 204de16

Browse files
committed
Fix Flatpak manifest YAML syntax
- Fixed YAML parsing error in org.routeplanner.RoutePlanner.yml - Simplified launcher script to use main.py directly - Ensures build process works correctly with dynamic versioning - All released files now use correct dynamic version (1.1.13)
1 parent 0b24e8c commit 204de16

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

flatpak/org.routeplanner.RoutePlanner.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,7 @@ modules:
2424
#!/bin/bash
2525
cd "/app/lib/route-planner"
2626
export PYTHONPATH="/app/lib/route-planner:${PYTHONPATH}"
27-
python3 -c "
28-
import sys
29-
import os
30-
sys.path.insert(0, '/app/lib/route-planner')
31-
32-
try:
33-
import PyQt5
34-
print('Starting Route Planner GUI...')
35-
from route_planner.core import main
36-
main()
37-
except ImportError as e:
38-
print('PyQt5 not available, starting in console mode...')
39-
print('Error:', str(e))
40-
try:
41-
from route_planner.console import console_main
42-
console_main()
43-
except Exception as console_e:
44-
print('Console mode also failed:', str(console_e))
45-
print('Please install the dependencies manually.')
46-
sys.exit(1)
47-
" "$@"
27+
exec python3 main.py "$@"
4828
EOF
4929
- chmod +x /app/bin/route-planner
5030
- mkdir -p /app/share/applications

0 commit comments

Comments
 (0)