MCPcopy
hub / github.com/electron/forge / create

Method create

packages/api/core/src/util/plugin-interface.ts:34–41  ·  view source on GitHub ↗
(
    dir: string,
    forgeConfig: ResolvedForgeConfig,
  )

Source from the content-addressed store, hash-verified

32 private config: ResolvedForgeConfig;
33
34 static async create(
35 dir: string,
36 forgeConfig: ResolvedForgeConfig,
37 ): Promise<PluginInterface> {
38 const int = new PluginInterface(dir, forgeConfig);
39 await int._pluginPromise;
40 return int;
41 }
42
43 private constructor(dir: string, forgeConfig: ResolvedForgeConfig) {
44 this._pluginPromise = Promise.all(

Callers 3

getHooksMethod · 0.80
makeMethod · 0.80
forge-config.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected