Skip to content

Commit

Permalink
Bug fix release 1.1.1
Browse files Browse the repository at this point in the history
- Mac menubar icon must end in "Template" for the image to be a template
  image.
  - Without this, the icon appears transparent in light mode on macOS.
  • Loading branch information
KYDronePilot committed Dec 29, 2020
1 parent 2fae69e commit 5a76496
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1]

### Fixed

- Mac toolbar icons weren't being treated as template images, causing them to
look invisible when in light mode.

## [1.1.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "space-eye",
"version": "1.1.0",
"version": "1.1.1",
"description": "Live satellite imagery for your desktop background",
"main": "./dist/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const windowPosition = process.platform === 'darwin' ? 'trayRight' : 'trayBottom
const toolbarIconPath = path.join(
__dirname,
'icons',
process.platform === 'win32' ? 'windows_toolbar.ico' : 'mac_toolbar.png'
process.platform === 'win32' ? 'windows_toolbar.ico' : 'MacToolbarTemplate.png'
)

global.mb = menubar({
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12189,9 +12189,9 @@ source-map@^0.7.3:
integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==

space-eye-icons@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/space-eye-icons/-/space-eye-icons-0.3.0.tgz#6006a45aac5856d1d65c9a5397c9056e6ba07db6"
integrity sha512-ahcPfukQpFVnghgmD65rCRx8CVTmOaWAxlaG6QofFb7fRDlVxYaJW4VwyHS4v4uKFaUbaqgxgzCeUrP9Z1WH9A==
version "0.3.1"
resolved "https://registry.yarnpkg.com/space-eye-icons/-/space-eye-icons-0.3.1.tgz#03490d1d1af1d46fee5276576887d1d0c927647d"
integrity sha512-Qm/FOVFO0Wm0W+C+o6Ou/5nmAUg0rUEHFXcQakY8Cn0ojHlzNtF24XLVyeelO6qsHnzSstumM6OxBSy0feW8nQ==

space-eye-mac-node-api@^1.0.2:
version "1.0.2"
Expand Down

0 comments on commit 5a76496

Please sign in to comment.