mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-20 11:29:56 +00:00
.
This commit is contained in:
parent
b5486b2ac9
commit
fa6f968e87
@ -22,7 +22,10 @@ sudo: false
|
|||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key: $GITHUB_TOKEN
|
api_key: $GITHUB_TOKEN
|
||||||
file: dist/*.AppImage
|
file_glob: true
|
||||||
|
file:
|
||||||
|
- dist/*.deb
|
||||||
|
- dist/*.rpm
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
@ -4,7 +4,7 @@ const vars = require('./vars')
|
|||||||
|
|
||||||
builder({
|
builder({
|
||||||
dir: true,
|
dir: true,
|
||||||
linux: ['deb'],
|
linux: ['deb', 'rpm', 'tar.gz'],
|
||||||
extraMetadata: {
|
extraMetadata: {
|
||||||
version: vars.version,
|
version: vars.version,
|
||||||
},
|
},
|
||||||
|
@ -6,17 +6,17 @@ const log = require('npmlog')
|
|||||||
|
|
||||||
log.info('deps', 'app')
|
log.info('deps', 'app')
|
||||||
sh.exec('npm prune')
|
sh.exec('npm prune')
|
||||||
sh.exec('npm install')
|
sh.exec('npm update --dev')
|
||||||
|
|
||||||
sh.cd('app')
|
sh.cd('app')
|
||||||
sh.exec('npm prune')
|
sh.exec('npm prune')
|
||||||
sh.exec('npm install')
|
sh.exec('npm update --dev')
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
|
|
||||||
vars.builtinPlugins.forEach(plugin => {
|
vars.builtinPlugins.forEach(plugin => {
|
||||||
log.info('deps', plugin)
|
log.info('deps', plugin)
|
||||||
sh.cd(plugin)
|
sh.cd(plugin)
|
||||||
sh.exec('npm prune')
|
sh.exec('npm prune')
|
||||||
sh.exec('npm install')
|
sh.exec('npm update --dev')
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
})
|
})
|
||||||
|
@ -15,14 +15,13 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.22",
|
"@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.22",
|
||||||
"@types/electron": "^1.4.35",
|
|
||||||
"@types/js-yaml": "^3.5.29",
|
"@types/js-yaml": "^3.5.29",
|
||||||
"@types/node": "^7.0.12",
|
"@types/node": "^7.0.12",
|
||||||
"@types/webpack-env": "^1.13.0",
|
"@types/webpack-env": "^1.13.0",
|
||||||
"bootstrap": "4.0.0-alpha.6",
|
"bootstrap": "4.0.0-alpha.6",
|
||||||
"core-js": "^2.4.1",
|
"core-js": "^2.4.1",
|
||||||
"ngx-perfect-scrollbar": "4.0.0",
|
"ngx-perfect-scrollbar": "4.0.0",
|
||||||
"typescript": "^2.2.2"
|
"typescript": "^2.4.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/animations": "4.0.1",
|
"@angular/animations": "4.0.1",
|
||||||
@ -35,8 +34,8 @@
|
|||||||
"zone.js": "0.8.4"
|
"zone.js": "0.8.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"deepmerge": "^1.3.2",
|
"deepmerge": "^1.4.4",
|
||||||
"js-yaml": "^3.8.3"
|
"js-yaml": "^3.8.4"
|
||||||
},
|
},
|
||||||
"false": {}
|
"false": {}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Injectable } from '@angular/core'
|
import { Injectable } from '@angular/core'
|
||||||
import { ConfigService } from '../services/config.service'
|
import { ConfigService } from '../services/config.service'
|
||||||
import { ElectronService } from '../services/electron.service'
|
import { ElectronService } from '../services/electron.service'
|
||||||
import { HostAppService } from '../services/hostApp.service'
|
import { HostAppService, Bounds } from '../services/hostApp.service'
|
||||||
|
|
||||||
export interface IScreen {
|
export interface IScreen {
|
||||||
id: string
|
id: string
|
||||||
@ -24,7 +24,7 @@ export class DockingService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let dockSide = this.config.store.appearance.dock
|
let dockSide = this.config.store.appearance.dock
|
||||||
let newBounds: Electron.Rectangle = { x: 0, y: 0, width: 0, height: 0 }
|
let newBounds: Bounds = { x: 0, y: 0, width: 0, height: 0 }
|
||||||
let fill = this.config.store.appearance.dockFill
|
let fill = this.config.store.appearance.dockFill
|
||||||
|
|
||||||
if (dockSide === 'off') {
|
if (dockSide === 'off') {
|
||||||
|
@ -6,6 +6,13 @@ export enum Platform {
|
|||||||
Linux, macOS, Windows,
|
Linux, macOS, Windows,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface Bounds {
|
||||||
|
x: number
|
||||||
|
y: number
|
||||||
|
width: number
|
||||||
|
height: number
|
||||||
|
}
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class HostAppService {
|
export class HostAppService {
|
||||||
platform: Platform
|
platform: Platform
|
||||||
@ -97,7 +104,7 @@ export class HostAppService {
|
|||||||
this.electron.ipcRenderer.send('window-toggle-maximize')
|
this.electron.ipcRenderer.send('window-toggle-maximize')
|
||||||
}
|
}
|
||||||
|
|
||||||
setBounds (bounds: Electron.Rectangle) {
|
setBounds (bounds: Bounds) {
|
||||||
this.electron.ipcRenderer.send('window-set-bounds', bounds)
|
this.electron.ipcRenderer.send('window-set-bounds', bounds)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"rxjs": "5.3.0"
|
"rxjs": "5.3.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.16.1"
|
"axios": "^0.16.2"
|
||||||
},
|
},
|
||||||
"false": {}
|
"false": {}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user