mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-18 08:29:55 +01:00
Port the safety check enhancement from v2 to v3. The existing safety check in templates.go now respects a new -f/--force flag that allows users to explicitly acknowledge and proceed with initialization in non-empty directories. Fixes #4940 (v3 portion) https://claude.ai/code/session_01EN7wUQygUFthJ8WaRULfot |
||
|---|---|---|
| .. | ||
| .hidden_file | ||
| main.go | ||
| README.md | ||
| test.txt | ||
| wails-logo-small.jpg | ||
| wails-logo-small.png | ||
Dialog Test Application
This application is designed to test macOS file dialog functionality across different versions of macOS. It provides a comprehensive suite of tests for various dialog features and configurations.
Features Tested
- Basic file open dialog
- Single extension filter
- Multiple extension filter
- Multiple file selection
- Directory selection
- Save dialog with extension
- Complex filters
- Hidden files
- Default directory
- Full featured dialog with all options
Running the Tests
go run main.go
Test Results
When running tests:
- Each test will show the selected file(s) and their types
- For multiple selections, all selected files will be listed
- Errors will be displayed in an error dialog
- The application logs debug information to help track issues
Notes
- This test application is primarily for development and testing purposes
- It can be used to verify dialog behavior across different macOS versions
- The tests are designed to not interfere with CI pipelines