Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
dfunckt committed Nov 9, 2023
1 parent b5f9af4 commit 53858c4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ import { MakerDMG } from '@electron-forge/maker-dmg';
import { MakerAppImage } from '@reforged/maker-appimage';
import { AutoUnpackNativesPlugin } from '@electron-forge/plugin-auto-unpack-natives';
import { WebpackPlugin } from '@electron-forge/plugin-webpack';
import { ResourcePlugin } from 'electron-forge-resource-plugin';

import { mainConfig, rendererConfig } from './webpack.config';

const debug = require('debug');
debug.enable('electron-forge:*');

const { hostDependencies } = require('./package.json');

const LONG_DESCRIPTION = `balenaEtcher is a powerful OS image flasher built with
Expand Down Expand Up @@ -135,14 +137,6 @@ const config: ForgeConfig = {
],
},
}),
new ResourcePlugin({
env: 'ETCHER_UTIL_BIN_PATH',
path: `out/sidecar/bin/etcher-util${process.platform === 'win32' ? '.exe' : ''}`,
build: {
command: 'npm rebuild mountutils && tsc --project tsconfig.sidecar.json && pkg out/sidecar/util/api.js -c pkg-sidecar.json --target node18 --output out/sidecar/bin/etcher-util',
sources: './lib/util/',
},
}),
],
};

Expand Down

0 comments on commit 53858c4

Please sign in to comment.