mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 12:50:04 +02:00
26 lines
463 B
JavaScript
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
|
|
}
|