mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 02:50:00 +00:00
build fix (fixes 579)
This commit is contained in:
parent
6e13914712
commit
504cfcf8ff
@ -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')))
|
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 = childProcess.execSync('git describe --tags', {encoding:'utf-8'})
|
||||||
exports.version = exports.version.substring(1)
|
exports.version = exports.version.substring(1).trim()
|
||||||
exports.version = exports.version.replace('-g', 'g')
|
exports.version = exports.version.replace('-', '-c')
|
||||||
|
|
||||||
exports.builtinPlugins = [
|
exports.builtinPlugins = [
|
||||||
'terminus-core',
|
'terminus-core',
|
||||||
|
@ -6,7 +6,6 @@ import { first } from 'rxjs/operators'
|
|||||||
import { Injectable } from '@angular/core'
|
import { Injectable } from '@angular/core'
|
||||||
import { Logger, LogService, ConfigService } from 'terminus-core'
|
import { Logger, LogService, ConfigService } from 'terminus-core'
|
||||||
import { exec } from 'mz/child_process'
|
import { exec } from 'mz/child_process'
|
||||||
import TerminalModule from '..'
|
|
||||||
import { SessionOptions } from '../api'
|
import { SessionOptions } from '../api'
|
||||||
|
|
||||||
let macOSNativeProcessList
|
let macOSNativeProcessList
|
||||||
@ -248,7 +247,7 @@ export class Session extends BaseSession {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Injectable({ providedIn: TerminalModule })
|
@Injectable({ providedIn: 'root' })
|
||||||
export class SessionsService {
|
export class SessionsService {
|
||||||
sessions: {[id: string]: BaseSession} = {}
|
sessions: {[id: string]: BaseSession} = {}
|
||||||
logger: Logger
|
logger: Logger
|
||||||
|
Loading…
x
Reference in New Issue
Block a user