diff --git a/completions/psc/guid.txt b/completions/psc/guid.txt index 8d164ae..97d563f 100644 --- a/completions/psc/guid.txt +++ b/completions/psc/guid.txt @@ -1 +1 @@ -556e9d2e-e157-4bd9-8d97-d81af2905cbd +8163a1d6-65c8-4ba6-aa46-f9a2797f3f11 diff --git a/completions/psc/language/en-US.json b/completions/psc/language/en-US.json index fce65e1..61e996a 100644 --- a/completions/psc/language/en-US.json +++ b/completions/psc/language/en-US.json @@ -1422,11 +1422,9 @@ "{{ ", "$version_list=$PSCompletions.get_raw_content(\"$($PSCompletions.path.temp)\\CHANGELOG.json\") | ConvertFrom-Json;", "$lang = if($PSCompletions.language -eq 'zh-CN'){ 'zh-CN' }else{ 'en-US' };", - "$num=1;", "foreach($_ in $version_list) {", " if($_.version -eq $PSCompletions.version){ break }", - " if($num){ \"<@Blue>$($_.version) : $($_.info.$($lang))\";$num = 0 }", - " else{ \"`n $($_.version) : $($_.info.$($lang))\" }", + " \"`n<@Blue>$($_.version) : $($_.info.$($lang))\"", "}", "}}\n", "<@Cyan>Press <@Magenta>Enter<@Cyan> key to update or <@Magenta>other key(Without Ctrl)<@Cyan> to cancel!" diff --git a/completions/psc/language/zh-CN.json b/completions/psc/language/zh-CN.json index 672ca64..c36320a 100644 --- a/completions/psc/language/zh-CN.json +++ b/completions/psc/language/zh-CN.json @@ -1431,11 +1431,9 @@ "{{ ", "$version_list=$PSCompletions.get_raw_content(\"$($PSCompletions.path.temp)\\CHANGELOG.json\") | ConvertFrom-Json;", "$lang = if($PSCompletions.language -eq 'zh-CN'){ 'zh-CN' }else{ 'en-US' };", - "$num=1;", "foreach($_ in $version_list) {", " if($_.version -eq $PSCompletions.version){ break }", - " if($num){ \"<@Blue>$($_.version) : $($_.info.$($lang))\";$num = 0 }", - " else{ \"`n $($_.version) : $($_.info.$($lang))\" }", + " \"`n<@Blue>$($_.version) : $($_.info.$($lang))\"", "}", "}}\n", "<@Cyan>按下 <@Magenta>Enter(回车键)<@Cyan> 进行更新,<@Magenta>其他任意键(不包含 Ctrl 键)<@Cyan> 取消更新!"