5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 11:31:10 +08:00
wails/v2/pkg/buildassets/build
Andrey Pshenkin ae688aa07d
Implement custom protocol association support (#3000)
* implement MacOS openFile/openFiles events

* wip: windows file association

* fix macro import

* add file icon copy

* try copy icon

* keep only required part of scripts

* update config schema

* fix json

* set fileAssociation for mac via config

* proper iconName handling

* add fileAssociation icon generator

* fix file association icons bundle

* don't break compatibility

* remove mimeType as not supported linux for now

* add documentation

* adjust config schema

* restore formatting

* try implement single instance lock with params passing

* fix focusing

* fix focusing

* formatting

* use channel buffer for second instance events

* handle errors

* add comment

* remove unused option in file association

* wip: linux single instance lock

* wip: linux single instance

* some experiments with making window active

* try to use unminimise

* remove unused

* try present for window

* try present for window

* fix build

* cleanup

* cleanup

* implement single instance lock on mac os

* implement proper show for windows

* proper unmimimise

* get rid of openFiles mac os. change configuration structure

* remove unused channel

* remove unused function

* add documentation for single instance lock

* add PR link

* wip mac os deeplinks

* put custom url listner on top to catch link on app opening

* put custom url listner on top to catch link on app opening

* try add custom url windows

* adjust custom url

* add docs

* merge master

* update documentation

* add comment for darwin

* add PR link

* change naming

* change naming

* change naming

* change naming

* fix formatting

* fix naming

* Fix typo

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-11-02 20:26:05 +11:00
..
darwin Implement custom protocol association support (#3000) 2023-11-02 20:26:05 +11:00
windows Implement custom protocol association support (#3000) 2023-11-02 20:26:05 +11:00
appicon.png [ImgBot] Optimize images (#1812) 2022-09-12 21:57:07 +10:00
README.md Release/v2.1.0 (#1988) 2022-10-18 07:21:07 +11:00

Build Directory

The build directory is used to house all the build files and assets for your application.

The structure is:

  • bin - Output directory
  • darwin - macOS specific files
  • windows - Windows specific files

Mac

The darwin directory holds files specific to Mac builds. These may be customised and used as part of the build. To return these files to the default state, simply delete them and build with wails build.

The directory contains the following files:

  • Info.plist - the main plist file used for Mac builds. It is used when building using wails build.
  • Info.dev.plist - same as the main plist file but used when building using wails dev.

Windows

The windows directory contains the manifest and rc files used when building with wails build. These may be customised for your application. To return these files to the default state, simply delete them and build with wails build.

  • icon.ico - The icon used for the application. This is used when building using wails build. If you wish to use a different icon, simply replace this file with your own. If it is missing, a new icon.ico file will be created using the appicon.png file in the build directory.
  • installer/* - The files used to create the Windows installer. These are used when building using wails build.
  • info.json - Application details used for Windows builds. The data here will be used by the Windows installer, as well as the application itself (right click the exe -> properties -> details)
  • wails.exe.manifest - The main application manifest file.