summaryrefslogtreecommitdiff
path: root/desktop/node_modules/electron-packager/src/linux.js
blob: 1e98414b3da67184d675970cce84d54f23a3db7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'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
}