Skip to content

Commit

Permalink
🐛 Fixed an issue which merged the example menu into the first configu…
Browse files Browse the repository at this point in the history
…red menu
  • Loading branch information
Schneegans committed Nov 3, 2024
1 parent 2139867 commit 106651f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,17 @@ Security - in case of vulnerabilities.
Kando uses [semantic versioning](https://semver.org).
This changelog follows the rules of [Keep a Changelog](http://keepachangelog.com/).

## [Kando 1.5.1](https://github.com/kando-menu/kando/releases/tag/v1.5.1)

**Release Date:** 2024-11-03

#### :bug: Fixed

- Fixed a regression introduced in 1.5.0 which caused the first configured menu to be merged with the example menu.

## [Kando 1.5.0](https://github.com/kando-menu/kando/releases/tag/v1.5.0)


**Release Date:** 2024-11-03

<a href="https://www.youtube.com/watch?v=XVu_ea9gpCY">
Expand Down
4 changes: 2 additions & 2 deletions src/main/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ export class KandoApp {
file: 'menus.json',
directory: app.getPath('userData'),
defaults: {
menus: [this.createExampleMenu()],
menus: [],
templates: [],
},
});

// Try migrating settings from an old version of Kando.
this.migrateSettings();

// We ensure that there is always a menu avaliable. If the user deletes all menus,
// We ensure that there is always a menu available. If the user deletes all menus,
// we create a new example menu when Kando is started the next time.
if (this.menuSettings.get('menus').length === 0) {
this.menuSettings.set({
Expand Down

0 comments on commit 106651f

Please sign in to comment.