mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-23 02:22:02 +03:00
WSL: fixed multiple distro detection
This commit is contained in:
parent
ca9f11484c
commit
a632a599d3
@ -35,7 +35,7 @@
|
|||||||
"macos-native-processlist": "^2.0.0",
|
"macos-native-processlist": "^2.0.0",
|
||||||
"serialport": "^9.2.0",
|
"serialport": "^9.2.0",
|
||||||
"windows-blurbehind": "^1.0.1",
|
"windows-blurbehind": "^1.0.1",
|
||||||
"windows-native-registry": "^3.0.0",
|
"windows-native-registry": "^3.1.0",
|
||||||
"windows-process-tree": "^0.3.0"
|
"windows-process-tree": "^0.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -3586,12 +3586,12 @@ windows-blurbehind@^1.0.1:
|
|||||||
resolved "https://registry.yarnpkg.com/windows-blurbehind/-/windows-blurbehind-1.0.1.tgz#ff098713873304e38330b2c54cc41bb369b587b9"
|
resolved "https://registry.yarnpkg.com/windows-blurbehind/-/windows-blurbehind-1.0.1.tgz#ff098713873304e38330b2c54cc41bb369b587b9"
|
||||||
integrity sha512-1HzHfCiM1ayrbACJu5qE9zELV24uX/tINT6kxaZwLY3rtQAoeav6x9z7LFHWoLaGDN/sYbnK+9Vk0cz7fsk5HQ==
|
integrity sha512-1HzHfCiM1ayrbACJu5qE9zELV24uX/tINT6kxaZwLY3rtQAoeav6x9z7LFHWoLaGDN/sYbnK+9Vk0cz7fsk5HQ==
|
||||||
|
|
||||||
windows-native-registry@^3.0.0:
|
windows-native-registry@^3.1.0:
|
||||||
version "3.0.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/windows-native-registry/-/windows-native-registry-3.0.0.tgz#82e715df7a59d5054c768547d81e0bfc81a59d2e"
|
resolved "https://registry.yarnpkg.com/windows-native-registry/-/windows-native-registry-3.1.0.tgz#909ef3254519fdec57d2f149ac59a2c9dc84419a"
|
||||||
integrity sha512-Mz/9a23UivwPc23DsTOL/ZCp/XXogT+6h/khk1psOfDDusXqpomBdxNdsBBE/BvIgOExjGom0XPOfEPiDnHy7A==
|
integrity sha512-WrDysn2V7dH+EYE6cS2RF+7r2P+M0pOYWtU8iBrjV2HaGkCLlUdGUWzOdzT0JPdWwz0BkVu3IOae2xmBajQqBA==
|
||||||
dependencies:
|
dependencies:
|
||||||
node-addon-api "^3.0.0"
|
node-addon-api "^3.1.0"
|
||||||
|
|
||||||
windows-process-tree@^0.3.0:
|
windows-process-tree@^0.3.0:
|
||||||
version "0.3.0"
|
version "0.3.0"
|
||||||
|
@ -33,7 +33,6 @@ export class ProfilesService {
|
|||||||
) { }
|
) { }
|
||||||
|
|
||||||
async openNewTabForProfile (profile: Profile): Promise<BaseTabComponent|null> {
|
async openNewTabForProfile (profile: Profile): Promise<BaseTabComponent|null> {
|
||||||
profile = this.getConfigProxyForProfile(profile)
|
|
||||||
const params = await this.newTabParametersForProfile(profile)
|
const params = await this.newTabParametersForProfile(profile)
|
||||||
if (params) {
|
if (params) {
|
||||||
const tab = this.app.openNewTab(params)
|
const tab = this.app.openNewTab(params)
|
||||||
|
@ -75,7 +75,7 @@ export class TerminalTabComponent extends BaseTerminalTabComponent {
|
|||||||
async getRecoveryToken (): Promise<any> {
|
async getRecoveryToken (): Promise<any> {
|
||||||
const cwd = this.session ? await this.session.getWorkingDirectory() : null
|
const cwd = this.session ? await this.session.getWorkingDirectory() : null
|
||||||
return {
|
return {
|
||||||
type: 'app:terminal-tab',
|
type: 'app:local-tab',
|
||||||
profile: {
|
profile: {
|
||||||
...this.profile,
|
...this.profile,
|
||||||
options: {
|
options: {
|
||||||
|
Loading…
Reference in New Issue
Block a user