Cross platform app launcher plugin for Arvis
Demo on mac:
- Install by npm
$ npm i -g arvis-app-launcher-plugin
- Cache program icons by typing below command in Arvis.
(Only supported on mac
currently)
@cache/arvis-app-launcher-plugin
You can edit this plugin's config on User config table
like below.
And type @cache/arvis-app-launcher-plugin
to cache icon images (mac os only)
type: object
default value:
-
windows: [
C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs
] -
macos: [
/Applications
] -
linux: [
/usr/share/applications
,/usr/local/share/applications
,/var/lib/snapd/desktop/applications/
,/var/lib/flatpak/exports/share/applications/
,~/.local/share/applications/
]
Change the path you want to assign to explore.
If this plugin doesn't work properly, need to check this path exists.
type: number
default value: 3
Sets the depth to explore
In macos, it is fixed by 1
to avoid to explore in App file.
type: number | undefined
default value: os.cpus().length
Specifies the number of cpu to use to explore.
This plugin uses below icon sources
- Write application icon caching logic. It depends on OS.
- macos (O)
- windows (X)
- linux (X)