Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Fixed
- Linux DND detection
- debug info when from Windows Store

## [1.17.1] - 2024-12-25
### Fixed
Expand Down
8 changes: 6 additions & 2 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1496,8 +1496,12 @@ ipcMain.on('show-debug', function (event) {
const breaknumber = breakPlanner.breakNumber
const postponesnumber = breakPlanner.postponesNumber
const doNotDisturb = breakPlanner.dndManager.isOnDnd
const settingsFile = settings.path
const logsFile = log.transports.file.getFile().path
let settingsFile = settings.path
let logsFile = log.transports.file.getFile().path
if (process.windowsStore) {
settingsFile = settingsFile.replace('Roaming', 'Local\\Packages\\33881JanHovancik.stretchly_24fg4m0zq65je\\LocalCache\\Roaming')
logsFile = logsFile.replace('Roaming', 'Local\\Packages\\33881JanHovancik.stretchly_24fg4m0zq65je\\LocalCache\\Roaming')
}
event.sender.send('debugInfo', reference, timeleft,
breaknumber, postponesnumber, settingsFile, logsFile, doNotDisturb)
})
Expand Down
Loading