Skip to content

Commit

Permalink
release: bump up version 1.2.1 to 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SaidBySolo committed Mar 10, 2023
1 parent b4a0a46 commit 5d3d7ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hitomi-downloader-extension",
"version": "1.2.1",
"version": "1.2.2",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Hitomi Downloader extension",
"description": "Download directly from the web!",
"version": "1.2.1",
"version": "1.2.2",
"manifest_version": 3,
"action": {
"default_popup": "index.html"
Expand Down
13 changes: 6 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ const Footer = () => {
color="white"
p={6}
>
<Text fontSize="sm">
<Text fontSize="sm" color={colorMode === "dark" ? "white" : "black"}>
Made with{' '}
<span role="img" aria-label="love">
💖
</span>{' '}
by Saebasol
</Text>
<Text fontSize="sm">
<Text fontSize="sm" color={colorMode === "dark" ? "white" : "black"} >
<a
href="https://github.com/Saebasol/hitomi-downloader-chrome-extension"
target="_blank"
Expand Down Expand Up @@ -199,7 +199,7 @@ const ExtendMode = ({ version }: { version: string }) => {
isClosable: true,
});
console.log(`err: ${response.status}`);
console.log(`resp: ${response.text()}`);
console.log(`resp: ${JSON.stringify(await response.text())}`);
}
});
};
Expand Down Expand Up @@ -229,15 +229,15 @@ const ExtendMode = ({ version }: { version: string }) => {
height="400px"
>
<Button
isLoading={!!downloadRequesting}
isLoading={downloadRequesting}
isDisabled={!url}
onClick={() => requestHitomiDownloaderDownload()}
margin="5px"
>
Download currunt page
</Button>
<Button
isLoading={!!cookieRequesting}
isLoading={cookieRequesting}
isDisabled={!url}
onClick={() => updateHitomiDownloaderCookies()}
margin="5px"
Expand Down Expand Up @@ -275,8 +275,7 @@ const App = () => {
if (response.status === 200) {
setCheking(false);
setIsEnabled(true);
setVersion((await response.json())['version']);
console.log(`Hitomi Downloader version: ${version}`);
console.log(`Hitomi Downloader version: ${(await response.json())['version']}`);
return;
}
} catch {
Expand Down

0 comments on commit 5d3d7ee

Please sign in to comment.