Skip to content

feat: set window title under win32 platform - #63

Closed
waitingsong wants to merge 9 commits into
eggjs:masterfrom
waitingsong:win-title
Closed

feat: set window title under win32 platform#63
waitingsong wants to merge 9 commits into
eggjs:masterfrom
waitingsong:win-title

Conversation

@waitingsong

Copy link
Copy Markdown
Contributor
Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

@atian25 atian25 closed this Mar 31, 2018
@atian25

atian25 commented Mar 31, 2018

Copy link
Copy Markdown
Member

fell free to reopen if any other good idea.

@waitingsong

waitingsong commented Mar 31, 2018

Copy link
Copy Markdown
Contributor Author

用 process.title 设置windows窗口标题,然后用 tasklist /FI 以title/baseDir去匹配就可以解决window平台查找pid的问题了。 我这儿已经测试成功了。

你这么急着关嘛呢……

@atian25

atian25 commented Mar 31, 2018

Copy link
Copy Markdown
Member

我以为是独立一个 egg-scripts-win 去做了。
可以 reopen

@atian25 atian25 reopened this Mar 31, 2018
@codecov

codecov Bot commented Mar 31, 2018

Copy link
Copy Markdown

Codecov Report

Merging #63 into master will decrease coverage by 0.41%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   98.32%   97.91%   -0.42%     
==========================================
  Files           7        8       +1     
  Lines         419      431      +12     
==========================================
+ Hits          412      422      +10     
- Misses          7        9       +2
Impacted Files Coverage Δ
lib/agent_worker.js 100% <100%> (ø) ⬆️
lib/app_worker.js 96.22% <100%> (+0.14%) ⬆️
lib/utils/win.js 75% <75%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1af5ec8...baa4cf5. Read the comment docs.

waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request Apr 2, 2018
@waitingsong

Copy link
Copy Markdown
Contributor Author

npm stop with win32 support with this PR
eggjs/scripts#20

waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request Apr 3, 2018
waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request Apr 3, 2018
waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request Apr 5, 2018
waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request May 3, 2018
waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request May 3, 2018
waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request May 3, 2018
waitingsong added a commit to waitingsong/egg-scripts that referenced this pull request May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants