Skip to content
Permalink
Browse files

refactor(plugin-auto-unpack-natives): clean up plugin impl

  • Loading branch information
MarshallOfSound committed Nov 24, 2018
1 parent 6bc6500 commit a05e2dc0b0da1cecc3a9adf299d5ad58bcfbade3
Showing with 0 additions and 6 deletions.
  1. +0 −6 packages/plugin/auto-unpack-natives/src/AutoUnpackNativesPlugin.ts
@@ -4,14 +4,8 @@ import { ForgeConfig } from '@electron-forge/shared-types';
import { AutoUnpackNativesConfig } from './Config';

export default class AutoUnpackNativesPlugin extends PluginBase<AutoUnpackNativesConfig> {
private dir!: string;
private cachedGlob: Promise<string> | null = null;
name = 'auto-unpack-natives';

init(dir: string) {
this.dir = dir;
}

getHook(hookName: string) {
if (hookName === 'resolveForgeConfig') {
return this.resolveForgeConfig;

0 comments on commit a05e2dc

Please sign in to comment.
You can’t perform that action at this time.