Skip to content
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

[Feature] Add option for check update if extension installed #28

Open
jhen0409 opened this issue Nov 30, 2016 · 4 comments
Open

[Feature] Add option for check update if extension installed #28

jhen0409 opened this issue Nov 30, 2016 · 4 comments

Comments

@jhen0409
Copy link
Contributor

jhen0409 commented Nov 30, 2016

Add option for check update if extension installed, I think it will be better than forceDownload.

For redux-devtools-extension, we can get the xml by https://clients2.google.com/service/update2/crx?x=id%3Dlmhkpmbekcpmknklioeibfkpmmfibljd%26uc&prodversion=32 (No response):

<gupdate xmlns="http://www.google.com/update2/response" protocol="2.0" server="prod">
  <daystart elapsed_days="3620" elapsed_seconds="67699"/>
  <app appid="lmhkpmbekcpmknklioeibfkpmmfibljd" cohort="" cohortname="" status="ok">
    <updatecheck
      codebase="https://clients2.googleusercontent.com/crx/blobs/QgAAAC6zw0qH2DJtnXe8Z7rUJP2IRVE-L9w2IT8562wiulh2IgB09conu2XJ-g73l8oozDkTpsK4nut8cp-7Murq2_r8MbzmmbAhUzPkQuuESgjcAMZSmuV2YJ8g9OU9pR7i6f1D9n90dSy57w/extension_2_11_0_4.crx"
      fp="1.48a24cd00dc54fb49dde23bb80d57eeb2dd71a6380572ca5cad9831b60d36fd0"
      hash_sha256="48a24cd00dc54fb49dde23bb80d57eeb2dd71a6380572ca5cad9831b60d36fd0"
      protected="0"
      size="1486330"
      status="ok"
      version="2.11.0.4"
    />
  </app>
</gupdate>
@fomenyesu
Copy link

fomenyesu commented Dec 8, 2016

Agree ! I already installed all the extensions but still got the error msg..

@SimulatedGREG
Copy link

Would love to have some sort of auto-update feature. I put this commit together but soon realized @jhen0409 strategy doesn't seem to work for all extensions unfortunately. Will look into later.

@jhen0409
Copy link
Contributor Author

@SimulatedGREG Thanks for do this! I haven't enough time to.

Look at your commit, semver can't compatible Chrome extension version, like currently redux-devtools-extension version is 2.12.2.1, should we update the extension just need to know the version is different?

@SimulatedGREG
Copy link

SimulatedGREG commented Jan 13, 2017

Yeah I noticed that afterwards, although VUEJS_DEVTOOLS actually does use proper semver with version 3.0.5. Either way, when you plug in the chromeStoreId for each plugin, not all results produce a version number.

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

No branches or pull requests

3 participants