5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 23:40:43 +08:00
wails/v3/examples/file-association
Fabio Massaioli e7c134de4e
[v3] Late service registration and error handling overhaul (#4066)
* Add service registration method

* Fix error handling and formatting in messageprocessor

* Add configurable error handling

* Improve error strings

* Fix service shutdown on macOS

* Add post shutdown hook

* Better fatal errors

* Add startup/shutdown sequence tests

* Improve debug messages

* Update JS runtime

* Update docs

* Update changelog

* Fix log message in clipboard message processor

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Remove panic in RegisterService

* Fix linux tests (hopefully)

* Fix error formatting everywhere

* Fix typo in windows webview

* Tidy example mods

* Set application name in tests

* Fix ubuntu test workflow

* Cleanup template test pipeline

* Fix dev build detection on Go 1.24

* Update template go.mod/sum to Go 1.24

* Remove redundant caching in template tests

* Final format string cleanup

* Fix wails3 tool references

* Fix legacy log calls

* Remove formatJS and simplify format strings

* Fix indirect import

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-19 09:27:41 +01:00
..
build [v3] Update copyright date (#4037) 2025-02-14 08:43:19 +11:00
frontend [v3] Fix invisible footer for light mode users across default templates (#4056) 2025-02-16 11:57:52 +11:00
.gitignore V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00
go.mod [v3] Late service registration and error handling overhaul (#4066) 2025-02-19 09:27:41 +01:00
go.sum [v3] Late service registration and error handling overhaul (#4066) 2025-02-19 09:27:41 +01:00
greetservice.go V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00
Inter Font License.txt V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00
main.go V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00
README.md Event cancellation for standard listeners. 2025-01-27 09:29:22 +11:00
Taskfile.yml Add darwin universal build and package (#3902) 2024-11-23 23:15:10 +11:00
test.wails V3 alpha feature/file association port (#3873) 2024-11-09 08:58:20 +11:00

File Association Sample Project

This sample project demonstrates how to associate a file type with an application. More info at: https://v3.wails.io/learn/guides/file-associations/

To run the sample, follow these steps:

  1. Run wails3 package to generate the package.
  2. On Windows, run the installer that was built in the bin directory.
  3. Double-click on the test.wails file to open it with the application.
  4. On macOS, double-click on the test.wails file and select the built application.