nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

[0.13.0-beta2] How to find generated extension ID when using chrome-extension protocol

Open Jrags87 opened this issue 10 years ago • 4 comments

I am trying to migrate my app to v13 and it will not open because app protocol is deprecated. Inside my manifest I am using the following:

{ "main": "app://server/bin/splash.html", "name": "Server", "version": "4.0.4", "node-remote": "https://domain.com" } }

How do I find the generated extension ID so I can use chrome-extension instead of the app protocol.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Jrags87 avatar Jan 12 '16 00:01 Jrags87

You can just use the relative path for "main" and it will be loaded with the chrome-extensions protocol.

rogerwang avatar Jan 12 '16 02:01 rogerwang

In other cases you may need it though. You can get it with chrome.runtime.id which I found here.

1j01 avatar Dec 15 '16 00:12 1j01

@Jrags87 , does the above advise work for you? If so, let's close this issue.

Christywl avatar May 08 '17 02:05 Christywl

Yes it has, thanks for the help!

Jrags87 avatar May 08 '17 02:05 Jrags87