mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 01:17:14 +00:00
build fix (fixes 579)
This commit is contained in:
parent
6e13914712
commit
504cfcf8ff
2 changed files with 3 additions and 4 deletions
|
@ -6,8 +6,8 @@ const appInfo = JSON.parse(fs.readFileSync(path.resolve(__dirname, '../app/packa
|
|||
const electronInfo = JSON.parse(fs.readFileSync(path.resolve(__dirname, '../node_modules/electron/package.json')))
|
||||
|
||||
exports.version = childProcess.execSync('git describe --tags', {encoding:'utf-8'})
|
||||
exports.version = exports.version.substring(1)
|
||||
exports.version = exports.version.replace('-g', 'g')
|
||||
exports.version = exports.version.substring(1).trim()
|
||||
exports.version = exports.version.replace('-', '-c')
|
||||
|
||||
exports.builtinPlugins = [
|
||||
'terminus-core',
|
||||
|
|
|
@ -6,7 +6,6 @@ import { first } from 'rxjs/operators'
|
|||
import { Injectable } from '@angular/core'
|
||||
import { Logger, LogService, ConfigService } from 'terminus-core'
|
||||
import { exec } from 'mz/child_process'
|
||||
import TerminalModule from '..'
|
||||
import { SessionOptions } from '../api'
|
||||
|
||||
let macOSNativeProcessList
|
||||
|
@ -248,7 +247,7 @@ export class Session extends BaseSession {
|
|||
}
|
||||
}
|
||||
|
||||
@Injectable({ providedIn: TerminalModule })
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class SessionsService {
|
||||
sessions: {[id: string]: BaseSession} = {}
|
||||
logger: Logger
|
||||
|
|
Loading…
Reference in a new issue