add Windows 7+ JumpList support#43
Open
Elepover wants to merge 3 commits intocopyliu:masterfrom
Elepover:master
Open
add Windows 7+ JumpList support#43Elepover wants to merge 3 commits intocopyliu:masterfrom Elepover:master
Elepover wants to merge 3 commits intocopyliu:masterfrom
Elepover:master
Conversation
copyliu
reviewed
Mar 12, 2020
| { | ||
| JumpTask jumpTask = new JumpTask() | ||
| { | ||
| ApplicationPath = Assembly.GetExecutingAssembly().Location, |
Owner
There was a problem hiding this comment.
I think Assembly.GetExecutingAssembly().Location may changed after update
Author
There was a problem hiding this comment.
走 ClickOnce
得想个办法让弹幕姬获取到 ClickOnce 的 .appref-ms 文件
也许可以用 ApplicationDeployment.CurrentDeployment.ActivationUri.ToString() 来替代程序路径(并且同时取消对打开方式检查中“房间号启动”方式的豁免),但因为没有 ClickOnce 调试条件而一时无法继续
以及,如果直接打开 .appref-ms 的话,参数传递也是个问题
另一个思路
应用可以读取并修改自己已有的 JumpList, 所以也可以尝试在新版本启动时检测检测现有的 JumpList 中的项目并逐个修正
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.