Skip to content

Commit

Permalink
bg support
Browse files Browse the repository at this point in the history
  • Loading branch information
aza547 committed Aug 14, 2022
1 parent 76353ef commit c890ace
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Added

### Changed

### Fixed

## [2.3.0] - 2022-08-14
### Added
- Resources directory and better test scripts, although they still suck.
- [10](https://github.com/aza547/wow-recorder/issues/10) - Add logging infrastructure.
- [33](https://github.com/aza547/wow-recorder/issues/33) - Add tray icon and menu. Make minimizing now hide in system tray.
Expand Down
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WarcraftRecorder",
"version": "2.2.1",
"version": "2.3.0",
"description": "A World of Warcraft screen recorder",
"main": "./dist/main/main.js",
"author": {
Expand Down
1 change: 1 addition & 0 deletions src/main/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const months: string[] = [
2107: "Arathi Basin",
1681: "Arathi Basin",
1105: "Deepwind Gorge",
2245: "Deepwind Gorge",
566: "Eye of the Storm",
968: "Eye of the Storm",
628: "Isle of Conquest",
Expand Down
1 change: 1 addition & 0 deletions src/main/logutils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const handleArenaStartLine = (line: string) => {
* Handle a line from the WoW log.
*/
const handleArenaStopLine = (line: string) => {
if (!isRecording) return;
const videoStopDate = new Date();
const milliSeconds = (videoStopDate.getTime() - videoStartDate.getTime());
metadata.duration = Math.round(milliSeconds / 1000);
Expand Down

0 comments on commit c890ace

Please sign in to comment.