当前位置:网站首页>Using the hbuilder x editor to install a solution for terminal window plug-ins that are not responding
Using the hbuilder x editor to install a solution for terminal window plug-ins that are not responding
2022-06-22 22:57:00 【Mark community】
One 、 open HBuilder X root directory
Find... In turn main.js
HBuilderX \ plugins \ builtincef3terminal \ script \ main.jsTwo 、 edit main.js
take 17 To 40 Line code powershell.exe Follow cmd.exe Change to absolute path .
Here is an example :
if(isWin){ shell = ‘C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe’; var osRelease = os.release(); var dotIndex = osRelease.indexOf(’.’); if(dotIndex>0){ var fv = osRelease.substring(0,dotIndex); if(fv>6){ shell = ‘C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe’; }else{ shell = ‘C:/Windows/WinSxS/wow64_microsoft-windows-commandprompt_31bf3856ad364e35_10.0.16299.15_none_b84d9d01bfe1be94/cmd.exe’; var ov = osRelease.substring(dotIndex); dotIndex = ov.indexOf(’.’); if(dotIndex>0){ var sv = ov.substring(0,dotIndex); if(sv>1){ shell = ‘C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe’;
For more information, please refer to the original , Reproduced from :https://blog.csdn.net/weixin_44519496/article/details/119924214
边栏推荐
- Greedy interval problem (3)
- volume rendering
- [ROS introduction] cmakelist Txt and packages XML interpretation
- Learn redis with you (11) -- redis distributed lock
- Zynq ultrascale + rfsoc zcu111 RF clock tree learning 1
- 2021-01-29
- Atcoder abc256 full problem solution (interval merging template, matrix fast power optimization DP, line segment tree...)
- pycharm 配置远程连接服务器开发环境
- Greedy distribution problem (1)
- Mysql database DML operation exercise
猜你喜欢

Grafana report display of sentinel based high availability current limiting system

安装typescript环境并开启VSCode自动监视编译ts文件为js文件

Is it bad for NFT that the market starts to cool down?

The required reading for candidates | PMP the test on June 25 is approaching. What should we pay attention to?

2020-12-04

欧洲的龙之城|国家地理全球最浪漫最安全的目的地

leetcode. 11 --- container with the most water

How to quickly build an enterprise knowledge base at low cost?

Reasons for the failure of digital transformation and the way to success

Why is yuancosmos so popular? Is the 10trillion yuan shouted by the market boasting or the truth?
随机推荐
Valid parentheses
Mysql database DQL exercise
How to manage tasks in note taking software such as flowus and notation?
The relationship between derivative and differential of function
Greedy distribution problem (1)
R language builds a binary classification model based on H2O package: using H2O GLM constructs regularized logistic regression model and uses H2O AUC value of AUC calculation model
Dragon City in Europe | National Geographic the most romantic and safe destination in the world
MySQL functions
[ROS introduction] cmakelist Txt and packages XML interpretation
2020-12-04
Next permutation [give play to subjective initiative to discover laws]
Remote access and control - SSH Remote Management and TCP wrappers access control
2021-08-21
Total number of combinations [standard backtracking + backtracking techniques -- reducing stack depth]
In a frame because it set 'X-FRAME-OPTIONS' to' deny '
Summary of transport layer knowledge points
Huawei cloud recruits partners in the field of industrial intelligence to provide strong support + commercial realization
Atcoder abc256 full problem solution (interval merging template, matrix fast power optimization DP, line segment tree...)
2021-03-06
Task management of embedded development foundation (thread management)