Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Costlocker desktop app

Build Status Windows status


  1. Download an app for your OS
  2. Install
    • Windows: run installer
    • Linux: unzip the file, create symlink Costlocker
    • Mac: move to Applications
  3. Run the app

Platform limitations



  • Better idle time detection
  • Mac: behavior like in native app (no tray menu, keyboard shortcuts)
  • Internal: update electron


  • Tray & taskbar/dock
  • Binaries: Windows installer, MacOS dmg, Linux zip
  • Internal: electron-builder, Windows code signing


  • Windows: fix loading application icon


  • taskbar/dock instead of tray
  • movable window with frame (minimize/close buttons)

Windows 10 - taskbar


  • tray integration, window settings, idle time detection, reminder to track time
  • app binaries without installer (Windows, Linux, Mac)

Windows 10 - tray


npm install
npm start


  1. Changelog commit + tag
  2. Travis/Appveyor uploads binaries to an pre-release
    npm run package-osx
    npm run package-linux
    npm run package-win
  3. Sign an Windows app (Win7)
    # 1) plug an USB dongle
    # 2) sign the app
    "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\signtool.exe" sign /tr /td sha256 /fd sha256 /n "Costlocker SE" /v "win-installer-x86-2018.8.20.exe"
        The following certificate was selected:
        Issued to: Costlocker SE
        Issued by: DigiCert EV Code Signing CA (SHA2)
        Expires:   Fri Jul 24 14:00:00 2020
        SHA1 hash: A71780C9FA2FC15E04B05D09404A7688813671DC
        Done Adding Additional Store
        Successfully signed and timestamped: win-installer-x86-2018.8.20.exe
        Number of files successfully Signed: 1
        Number of warnings: 0
        Number of errors: 0
  4. Verify the signed app - SignTool Error?
    "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\signtool.exe" verify /pa /v "win-installer-x86-2018.8.20.exe"
        Verifying: win-installer-x86-2018.8.20.exe
        Hash of file (sha256): ...
        Signing Certificate Chain: ...
        The signature is timestamped: Wed Aug 22 09:24:30 2018
        Timestamp Verified by: ...
        Successfully verified: win-installer-x86-2018.8.20.exe
        Number of files successfully Verified: 1
        Number of warnings: 0
        Number of errors: 0
  5. Upload the signed app & publish the release