mirror of
https://github.com/S2-/gitlit
synced 2025-08-04 05:10:05 +02:00
add node modules to repo
This commit is contained in:
25
node_modules/electron-packager/linux.js
generated
vendored
Normal file
25
node_modules/electron-packager/linux.js
generated
vendored
Normal file
@@ -0,0 +1,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)
|
||||
}
|
||||
|
||||
create () {
|
||||
return this.initialize()
|
||||
.then(() => this.renameElectron())
|
||||
.then(() => this.copyExtraResources())
|
||||
.then(() => this.move())
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
App: LinuxApp
|
||||
}
|
Reference in New Issue
Block a user