Code for resizeable window
📃 changes made:
- updated main.rs to make the window easily resizeable
- updated styles.css to make the app responsive to window size changes
- updated how the keystroke visualization works slightly to accommodate for larger, resized windows
there's an unused useRef import in app.tsx but too lazy to remove it and make another commit, git is confusing enough and had a stroke trying to figure out how to fix my commits :P
Are you going to package this as a release or drop some instructions on how to compile this
Are you going to package this as a release or drop some instructions on how to compile this
🫠 dev instructions are there on hudy's readme here: https://github.com/hudy9x/keyreader?tab=readme-ov-file#development
if you want even more detail:
- install rust & platform-based required dependencies as per ~ https://tauri.app/start/prerequisites/
- complete the tauri setup
- clone the repo ur interested in
- run
npm installwithin the root directory to install the project dependencies (all found inpackage.jsonincluding the scripts mentioned next) - then run
npm run devapportauri devif you wanna make changes with hot reload - or just run
npm run buildto compile based on ur operating system
or if ur running windows, u could just download the compiled release without all the associated pain: https://github.com/blankexistence/keyreader/releases/tag/feature