Skip to content

Commit

Permalink
Bump dependencies to work with osx 15 (#25)
Browse files Browse the repository at this point in the history
* convert from npm to pnpm

* update references to npm in readme

* use 'shamefully-hoist' option so that build works

* bump dependencies

* add an nvmrc file, and bump to latest lts version of node

* bump package release version

* remove instructions about osx, because i now provide those binaries

---------

Co-authored-by: Kip Robinson <kip.robinson@gmail.com>
  • Loading branch information
kiprobinsonknack and kiprobinson authored Oct 28, 2024
1 parent 46570c5 commit 31ef03b
Show file tree
Hide file tree
Showing 6 changed files with 1,896 additions and 5,158 deletions.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
engine-strict=true

# Required because of this issue: https://github.com/electron/packager/issues/1213
shamefully-hoist=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.10.0
23 changes: 7 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ Right-click on the Everytime logo in the system tray to see the current time in

There is no installer, just unzip the archive to some local directory and run the everytime.exe file to launch the application.

## Mac Support

You'll need to build the app yourself to run it:

```
npm install
npm run package-mac
```

The built executable will be in `build/Everytime-darwin-<ARCHITECTURE>/Everytime.app`.


## Linux support

I've only tested this on Windows and MacOS, and I only build the binaries for Windows. The Electron library that the app runs on should be cross-platform, but I have no means to test it. If you are interested, you can see the Development section below.
Expand All @@ -46,15 +34,18 @@ Right-click on the Everytime logo and select "Settings...". The application curr

## Development

If you want to play around with this code, checkout the repo and then run `npm install`. Then you can issue the following commands:
I use [`pnpm`][pnpm] instead of `npm`. You can install it with `npm install -g pnpm`.

If you want to play around with this code, checkout the repo and then run `pnpm install`. Then you can issue the following commands:

* `npm run start`: This will launch the app in development mode.
* `npm run package-windows`: This will build binaries for 32- and 64-bit Windows architecture.
* `npm run package-mac`: This will build binaries MacOS.
* `pnpm run start`: This will launch the app in development mode.
* `pnpm run package-windows`: This will build binaries for 32- and 64-bit Windows architecture.
* `pnpm run package-mac`: This will build binaries MacOS.

## Support

If you have any questions or spot any issues, please open an issue on the GitHub page.


[binaries]: https://tilde.ampersand.space/everytime/dist
[pnpm]: https://pnpm.io/
Loading

0 comments on commit 31ef03b

Please sign in to comment.