@crabnebula/packager-resource-resolver
v0.1.2
Published
Resource resolver for apps that was packaged by [`@crabnebula/packager`](https://www.npmjs.com/package/@crabnebula/packager).
Downloads
4
Keywords
Readme
@crabnebula/packager-resource-resolver
Resource resolver for apps that was packaged by @crabnebula/packager
.
It resolves the root path which contains resources, which was set using the resources
field of cargo packager configuration.
Get the resource path
import {
resourcesDir,
PackageFormat,
} from "@crabnebula/packager-resource-resolver";
const dir = resourcesDir(PackageFormat.Nsis);
Licenses
MIT or MIT/Apache 2.0 where applicable.