Skip to content

Commit

Permalink
Add link to release page
Browse files Browse the repository at this point in the history
  • Loading branch information
talyguryn committed Jan 15, 2021
1 parent 1b65c1f commit 7a76f76
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
17 changes: 16 additions & 1 deletion app/styles/base.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
}
}

a {
text-decoration: none;
color: inherit;
}


.header {
font-family: 'Roboto Thin';
Expand Down Expand Up @@ -118,5 +123,15 @@ button:focus {
top: 2px;
right: 5px;
font-size: 12px;
color: rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.4);

&:hover {
color: rgba(255, 255, 255, 0.8);
cursor: pointer;
}

&:active {
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
}
}
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
const versionHolder = document.getElementById('version');

versionHolder.innerText = `v${version}`;
versionHolder.addEventListener('click', async () => {
await open(`https://github.com/Aurora-Hunters/timelapse-maker/releases/tag/v${version}`);
});

const selectDirectoryButton = document.getElementById('select-directory-button');
const selectedDirectory = document.getElementById('selected-directory');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"electron-is-dev": "^1.2.0",
"electron-updater": "^4.3.5",
"fluent-ffmpeg": "^2.1.2",
"open": "^7.3.0",
"open": "^7.3.1",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2877,10 +2877,10 @@ onetime@^5.1.0:
dependencies:
mimic-fn "^2.1.0"

open@^7.3.0:
version "7.3.0"
resolved "https://registry.yarnpkg.com/open/-/open-7.3.0.tgz#45461fdee46444f3645b6e14eb3ca94b82e1be69"
integrity sha512-mgLwQIx2F/ye9SmbrUkurZCnkoXyXyu9EbHtJZrICjVAJfyMArdHp3KkixGdZx1ZHFPNIwl0DDM1dFFqXbTLZw==
open@^7.3.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/open/-/open-7.3.1.tgz#111119cb919ca1acd988f49685c4fdd0f4755356"
integrity sha512-f2wt9DCBKKjlFbjzGb8MOAW8LH8F0mrs1zc7KTjAJ9PZNQbfenzWbNP1VZJvw6ICMG9r14Ah6yfwPn7T7i646A==
dependencies:
is-docker "^2.0.0"
is-wsl "^2.1.1"
Expand Down

0 comments on commit 7a76f76

Please sign in to comment.