Skip to content

Code for resizeable window#6

Open
blankexistence wants to merge 1 commit into
hudy9x:mainfrom
blankexistence:main
Open

Code for resizeable window#6
blankexistence wants to merge 1 commit into
hudy9x:mainfrom
blankexistence:main

Conversation

@blankexistence

Copy link
Copy Markdown

📃 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

@DoctorGlitchy

Copy link
Copy Markdown

Are you going to package this as a release or drop some instructions on how to compile this

@blankexistence

Copy link
Copy Markdown
Author

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 install within the root directory to install the project dependencies (all found in package.json including the scripts mentioned next)
  • then run npm run devapp or tauri dev if you wanna make changes with hot reload
  • or just run npm run build to 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

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