diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f99fed..e194e8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.2.4] - 2023-08-18 +### Fixed +- Failed to build the app. + ## [0.2.3] - 2023-08-18 ### Fixed - App didn't start on Ubuntu when started by launcher, but was able to start via cli command. @@ -66,6 +70,7 @@ Add github publisher and actions. To build the releases for all platforms with g ## [0.0.1] - 2023-07-23 First version +[0.2.4]: https://github.com/jhotadhari/chroco/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/jhotadhari/chroco/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/jhotadhari/chroco/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/jhotadhari/chroco/compare/v0.2.0...v0.2.1 diff --git a/forge.config.js b/forge.config.js index 32bf095..dd46a2d 100644 --- a/forge.config.js +++ b/forge.config.js @@ -1,7 +1,8 @@ const fs = require( 'fs' ); const path = require('path'); const { serialHooks } = require( 'electron-packager/src/hooks' ); -const appRootDir = require('app-root-dir').get(); +const { getAppRootDirSync } = require( './src/main/utils' ); +const appRootDir = getAppRootDirSync( __dirname ); module.exports = { packagerConfig: { diff --git a/package-lock.json b/package-lock.json index 68c2319..47a88ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "chroco", - "version": "0.2.3", + "version": "0.2.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "chroco", - "version": "0.2.3", + "version": "0.2.4", "license": "CC-BY-NC-SA-4.0", "dependencies": { "electron-squirrel-startup": "^1.0.0", diff --git a/package.json b/package.json index e92a005..fdef70b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "chroco", "productName": "chroco", - "version": "0.2.3", + "version": "0.2.4", "description": "Simple electron offline time tracker", "main": ".webpack/main", "scripts": {