-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix_dpg_ui.sh
More file actions
executable file
·16 lines (13 loc) · 663 Bytes
/
fix_dpg_ui.sh
File metadata and controls
executable file
·16 lines (13 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Script to fix the DPG UI issues by ensuring components are properly extended
# Create missing files
echo "Setting up components extensions..."
mkdir -p dpg_ui/components
# Update imports in all tab files
echo "Updating imports in tab files..."
find dpg_ui/tabs -name "*.py" -exec sed -i 's/from dpg_ui.components.basic import Components/# Import Components with extensions\nfrom dpg_ui.components import Components/' {} \;
# Create a general launcher that tries all UI versions
echo "Setup complete. You can now run the UI with:"
echo " ./start-dpg-ui-fixed.py"
echo ""
echo "This will properly use the DPG UI with all tabs and LyCORIS support."