Eugene Pankov 4 tahun lalu
induk
melakukan
760311ffa0

+ 4 - 4
patches/app-builder-lib+22.10.5.patch

@@ -1,13 +1,13 @@
 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
 +++ b/node_modules/app-builder-lib/out/appInfo.js
 @@ -165,7 +165,7 @@ class AppInfo {
    get linuxPackageName() {
      const name = this.name; // https://github.com/electron-userland/electron-builder/issues/2963
-
+ 
 -    return name.startsWith("@") ? this.sanitizedProductName : name;
-+    return 'tabby-terminal'
++    return 'tabby-terminal';
    }
-
+ 
    get sanitizedName() {

+ 1 - 1
tabby-core/src/services/profiles.service.ts

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

+ 1 - 1
tabby-local/src/profiles.ts

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

+ 1 - 1
tabby-settings/src/components/editProfileModal.component.ts

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