Skip to content

Commit

Permalink
removed test code
Browse files Browse the repository at this point in the history
  • Loading branch information
mienaiyami committed Oct 26, 2021
1 parent 7da3409 commit b68f246
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ const checkforupdate = async () => {
const rawdata = await fetch(
"https://raw.githubusercontent.com/mienaiyami/offline-manga-reader/main/package.json"
).then((data) => data.json());
// const latestVersion = await rawdata.version.split(".");
const latestVersion = ["2", "1", "3"];
const latestVersion = await rawdata.version.split(".");
console.log("checking for update.....");
const currentAppVersion = window.electron.app.getVersion().split(".");
if (
Expand Down

0 comments on commit b68f246

Please sign in to comment.