UNPKG

electron-packager

Version:

Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI

26 lines (20 loc) 442 B
'use strict' const App = require('./platform') const common = require('./common') class LinuxApp extends App { get originalElectronName () { return 'electron' } get newElectronName () { return common.sanitizeAppName(this.executableName) } async create () { await this.initialize() await this.renameElectron() await this.copyExtraResources() return this.move() } } module.exports = { App: LinuxApp }