WebActions: Launcher can handle webactions #121
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog Description
AYON launcher is capable of handling
ayon-launcher
scheme using shims.Additional info
AYON launcher is handling
ayon-launcher
scheme. On all platfrorms is the handling done using shim as startup executable. This way we have only one executable registered for handling of the scheme without being worried about different AYON launcher versions.On macOs is scheme defined in shim's plist. On linux we use
ayon.desktop
which is also used for showing shortcut in apps menu. On windows is necessary to register the scheme, for that is necessary to have admin privileges and installation of shims will ask for them. At this moment this happens only on first shim installation, and there is no easy way how to register it afterwards.We can prepare .reg file for windows admins so they can easily deploy and register shims without huge amount of job (or maybe just add expected content of reg file to README.md).
Testing notes:
.poetry
,.venv
andvendor
folders in AYON launcher root../tools/manage.ps1 create-env
../tools/manage.ps1 install-runtime
../tools/manage.ps1 build-make-installer
.Advanced testing notes:
You don't have to have build AYON launcher for testing webactions on windows. It is possible to point to a powershell script and create schema handler manually. It must be powershell, because .bat file handles
&
in argument as "execute following string".Create
<ayon-launcher>/tools/ayon_console.ps1
with this content:Create file
ayon-launcher.reg
with this content (replace<FILL THIS PATH>
with your path) and open the file.