1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-23 02:22:02 +03:00
This commit is contained in:
Eugene Pankov 2021-07-13 23:50:31 +02:00
parent 2f13f3a401
commit 760311ffa0
4 changed files with 7 additions and 7 deletions

View File

@ -1,13 +1,13 @@
diff --git a/node_modules/app-builder-lib/out/appInfo.js b/node_modules/app-builder-lib/out/appInfo.js diff --git a/node_modules/app-builder-lib/out/appInfo.js b/node_modules/app-builder-lib/out/appInfo.js
index 25a159e..d8a0262 100644 index 25a159e..bfe0590 100644
--- a/node_modules/app-builder-lib/out/appInfo.js --- a/node_modules/app-builder-lib/out/appInfo.js
+++ b/node_modules/app-builder-lib/out/appInfo.js +++ b/node_modules/app-builder-lib/out/appInfo.js
@@ -165,7 +165,7 @@ class AppInfo { @@ -165,7 +165,7 @@ class AppInfo {
get linuxPackageName() { get linuxPackageName() {
const name = this.name; // https://github.com/electron-userland/electron-builder/issues/2963 const name = this.name; // https://github.com/electron-userland/electron-builder/issues/2963
- return name.startsWith("@") ? this.sanitizedProductName : name; - return name.startsWith("@") ? this.sanitizedProductName : name;
+ return 'tabby-terminal' + return 'tabby-terminal';
} }
get sanitizedName() { get sanitizedName() {

View File

@ -2,7 +2,7 @@ import { Injectable, Inject } from '@angular/core'
import { NewTabParameters } from './tabs.service' import { NewTabParameters } from './tabs.service'
import { BaseTabComponent } from '../components/baseTab.component' import { BaseTabComponent } from '../components/baseTab.component'
import { PartialProfile, Profile, ProfileProvider } from '../api/profileProvider' import { PartialProfile, Profile, ProfileProvider } from '../api/profileProvider'
;import { SelectorOption } from '../api/selector' import { SelectorOption } from '../api/selector'
import { AppService } from './app.service' import { AppService } from './app.service'
import { configMerge, ConfigProxy, ConfigService } from './config.service' import { configMerge, ConfigProxy, ConfigService } from './config.service'
import { NotificationsService } from './notifications.service' import { NotificationsService } from './notifications.service'

View File

@ -58,7 +58,7 @@ export class LocalProfilesService extends ProfileProvider<LocalProfile> {
if (focusedTab instanceof TerminalTabComponent && focusedTab.session) { if (focusedTab instanceof TerminalTabComponent && focusedTab.session) {
profile.options ??= {} profile.options ??= {}
profile.options!.cwd = await focusedTab.session.getWorkingDirectory() ?? undefined profile.options.cwd = await focusedTab.session.getWorkingDirectory() ?? undefined
} }
} }
} }

View File

@ -41,7 +41,7 @@ export class EditProfileModalComponent<P extends Profile> {
ngOnInit () { ngOnInit () {
this._profile = this.profile this._profile = this.profile
this.profile = this.profilesService.getConfigProxyForProfile(this.profile) as any this.profile = this.profilesService.getConfigProxyForProfile(this.profile)
} }
ngAfterViewInit () { ngAfterViewInit () {