linux.js 463 B

1234567891011121314151617181920212223242526
  1. 'use strict'
  2. const App = require('./platform')
  3. const common = require('./common')
  4. class LinuxApp extends App {
  5. get originalElectronName () {
  6. return 'electron'
  7. }
  8. get newElectronName () {
  9. return common.sanitizeAppName(this.executableName)
  10. }
  11. create () {
  12. return this.initialize()
  13. .then(() => this.renameElectron())
  14. .then(() => this.copyExtraResources())
  15. .then(() => this.move())
  16. }
  17. }
  18. module.exports = {
  19. App: LinuxApp
  20. }