1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 21:00:04 +02:00
Files
gitlit/app/node_modules/electron-packager/linux.js
2018-05-22 08:34:57 +02:00

26 lines
463 B
JavaScript

'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)
}
create () {
return this.initialize()
.then(() => this.renameElectron())
.then(() => this.copyExtraResources())
.then(() => this.move())
}
}
module.exports = {
App: LinuxApp
}