Skip to content

Conversation

@jvanmelckebeke
Copy link

Hi,

I wanted to use math-notepad as a 'real' calculator (as in: using it as an app, and having the ability to run it offline).

Here is what I did:

  • made all links local in the repo (e.g. downloaded them into the repository)
  • added electron, for running 'native' as a desktop app
  • added electron-forge so one could build the app and run it as math-notepad for example

Also a small remark on a possible bad practice I did: when you open the app the focus instantly goes to the input field.

Kind regards.

felipec added a commit that referenced this pull request Jul 26, 2022
See #3.

Suggested-by: Jari Van Melckebeke <jarivanmelckebeke@gmail.com>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
@felipec
Copy link
Owner

felipec commented Jul 26, 2022

I tested this and while it works, I don't want to include all JavaScript files inside the project.

I tried my hand with electron-builder and after many many attempts I decided why not simply use the remote locations, just like web page does?

The result is rather simple (bf2c604) and creating a more proper package can be done later on.

@jvanmelckebeke Is there any reason you can't do that on your setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants