Desktop app (Windows, Linux)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
nsis
.gitignore
.travis.yml
LICENSE
README.md
appveyor.yml
costlocker.js
index.html
main.js
package-lock.json
package.json
renderer.js

README.md

Costlocker desktop app

Build Status Windows status

Usage

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

Platform limitations

Changelog

2018.8.22

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

2018.07.16

  • Windows: fix loading application icon

2018.07.13

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

Windows 10 - taskbar

2018.07.10

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

Windows 10 - tray


Development

npm install
npm start

Release

  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 http://timestamp.digicert.com /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