Skip to content

Commit

Permalink
Support dashes in android version number (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
henninghall committed Aug 13, 2021
1 parent bd391a4 commit 20e2bed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PlayStoreProvider implements IProvider {
return fetch(storeUrl, opt.fetchOptions)
.then(res => res.text())
.then(text => {
const match = text.match(/Current Version.+?>([\d.]+)<\/span>/);
const match = text.match(/Current Version.+?>([\d.-]+)<\/span>/);
if (match) {
const latestVersion = match[1].trim();

Expand Down

0 comments on commit 20e2bed

Please sign in to comment.