mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Fixes Non-ASCII username issue reported in #731
This commit is contained in:
parent
335e994349
commit
e0c61d53c5
1 changed files with 3 additions and 2 deletions
|
@ -273,16 +273,17 @@ function Get-MessengerBinWrapperPath() {
|
||||||
function Set-MessengerBinWrapper() {
|
function Set-MessengerBinWrapper() {
|
||||||
$messengerBinPath = Get-MessengerBinPath
|
$messengerBinPath = Get-MessengerBinPath
|
||||||
$messengerBinWrapperPath = Get-MessengerBinWrapperPath
|
$messengerBinWrapperPath = Get-MessengerBinWrapperPath
|
||||||
|
$messengerBinName = $global:MessengerBinPyName
|
||||||
|
|
||||||
if ($global:NoPython -eq $false) { # system has python3
|
if ($global:NoPython -eq $false) { # system has python3
|
||||||
$messengerWrapperContent = @"
|
$messengerWrapperContent = @"
|
||||||
@echo off
|
@echo off
|
||||||
call $global:WinPython3Command $messengerBinPath
|
call $global:WinPython3Command $messengerBinName
|
||||||
"@
|
"@
|
||||||
} else { ## system does _not_ have python3
|
} else { ## system does _not_ have python3
|
||||||
$messengerWrapperContent = @"
|
$messengerWrapperContent = @"
|
||||||
@echo off
|
@echo off
|
||||||
call $messengerBinPath
|
call $messengerBinName
|
||||||
"@
|
"@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue