-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect id calculation based on path #79
Comments
And when you use There are stuff happening in the internals of Chrome that don't happen in |
I’ll check it and submit PR if it solves. |
Still no go: console.log(new crx().generateAppId("C:\\A")) // jnolanhjgfljcjnihpkbobjkjmjjcmoi
console.log(new crx().generateAppId("C:\\a")) // ifaajnbbnkmlgkcoakicakcbihceknij |
Hm, it's weird. I can reproduce the same extension ID with crx, the command line and when loading an unpacked Chrome extension in Chrome directly. But on Linux. There seem to be a different behaviour somewhere on Windows. EDIT: I have asked for help on Twitter. I tried in a Windows VM but could not reproduce the value generated by Chrome. Whereas I can on Linux and macOS. |
@NN--- if you install I'd be tempted to separate the methods, and have |
It works ! |
@oncletom Is there a reason there are no further releases on npm? |
@IgnusG it's not intentional, mostly a lack of headspace to wrap my head around what was required to release a new version. I think I felt ambiguous releasing a major version just to bump some dependencies and the minimum Node version requirement. Time has passed and I'm fine with it now. I'll take some time this week to wrap things up and release a new version. Thanks for raising this issue 👍 |
@oncletom no problem at all, the github version works perfectly, was just wondering ;) |
Yeah, me too I'm wondering! Fetching a git dependency is slower than an npm module so I'm quite happy if that's easier to track. |
Chrome gives you different id:
ID: igchicfaapedlfgmepccnpolhajaphik
Loaded from: C:\a
The text was updated successfully, but these errors were encountered: