Skip to content

Commit

Permalink
Merge pull request #1395 from hovancik/autostart-store
Browse files Browse the repository at this point in the history
hide autostart option for Windows Store build
  • Loading branch information
hovancik authored Nov 18, 2023
2 parents be1d17e + fbcf52f commit 71ec0c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- improve DND monitoring memory usage

### Changed
- hide autostart option for Windows Store build as it doesn't work

## [1.15.0] - 2023-11-11
### Added
- new end-of-the-break sound
Expand Down
3 changes: 2 additions & 1 deletion app/css/commons.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ body {
.darwin .darwin-hidden,
.linux .linux-hidden,
.freebsd .linux-hidden,
.openbsd .linux-hidden {
.openbsd .linux-hidden,
.store .store-hidden {
display: none;
}

Expand Down
3 changes: 3 additions & 0 deletions app/platform.js
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
document.body.classList.add(process.platform)
if (process.windowsStore) {
document.body.classList.add('store')
}
2 changes: 1 addition & 1 deletion app/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</a>
</nav>
<div class="settings">
<div class="linux-hidden">
<div class="linux-hidden store-hidden">
<input type="checkbox" value="openAtLogin" id="openAtLogin">
<label data-i18next="preferences.settings.openAtLogin" for="openAtLogin"></label>
</div>
Expand Down

0 comments on commit 71ec0c6

Please sign in to comment.