Giter VIP home page Giter VIP logo

Comments (23)

Merrit avatar Merrit commented on June 21, 2024 1

I will give it some thought :)

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024 1

This is awesome, thank you again for working on this!

from nyrna.

Merrit avatar Merrit commented on June 21, 2024 1

@JReming85

Windows performance should see a marked improvement with v2.17.0. 🎉

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024 1

Awesome, thank you!

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

We could probably add an optional command line argument, so that it would be possible to specify maybe the executable you want suspended - something like:

nyrna --toggle --exe=darksouls.exe

Then just add that command to a shortcut for your system, and create as many as you like. Would that work for your uses?

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

That would work, but I would also like a hotkey so I can easily trigger it from my controller.

I am sure I can figure a way to run a link/cmd via a macro but would be so much easier if I could just set a special hotkey

Thanks

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

Appreciate it

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

I added the ability to assign a hotkey to specific apps.

Please give this a try and let me know if that works for you. :)

Nyrna-Windows-Portable.zip
Nyrna-Linux-Portable.tar.gz

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

That is weird. I'll spin up a Windows 11 machine so I can test it.

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

Alright, think I have fixed that now. Please give this one a try. 🤞

Nyrna-Windows-Portable.zip
Nyrna-Linux-Portable.tar.gz

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

I'll take it that means it works for you 😁

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

2 big issues so far

  1. I can't change the global hotkey. It crashes right before/after it captures the new one
  2. It is extremely slow to pause/unpause, both globally and specific windows.
Log error
  ERROR ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  ERROR │ PathAccessException: Cannot delete file, path = 'C:\Users\Jeremyr\AppData\Roaming\com.example\nyrna\log.txt' (OS Error: The process cannot access the file because it is being used by another process.
  ERROR │ , errno = 32)
  ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
  ERROR │ #0   _checkForErrorResponse (dart:io/common.dart:55)
  ERROR │ #1   _File._delete.<anonymous closure> (dart:io/file_impl.dart:315)
  ERROR │ #2   <asynchronous suspension>
  ERROR │ #3   LoggingManager.initialize (package:nyrna/logs/logging_manager.dart:37)
  ERROR │ #4   <asynchronous suspension>
  ERROR │ #5   _VerboseLoggingTileState.build.<anonymous closure> (package:nyrna/settings/settings_page.dart:114)
  ERROR │ #6   <asynchronous suspension>
  ERROR ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
  ERROR │ ⛔ Uncaught platform error
  ERROR └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

That's weird. Does it crash if you try to bind different keys, or have you just tried one? Maybe try something like Ctrl + F10? More Windows testing!

Thanks for providing such helpful info to help troubleshoot! 💙

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

Confirmed the crash on my end by using Insert, think I've fixed that bug - should fix the same issue with other keys if it was the same problem.

Also fixed an issue with the logger, at the least it shouldn't cause a crash now.

Please give this build a shot :)

Nyrna-Linux-Portable.tar.gz
Nyrna-Windows-Portable.zip

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

Looking good,

Logging just shows There was an issue creating the log file. but I feel you already know that.

Can set/change both global + specific hotkeys just time.

1 thing I noticed, which you might not have implemented yet is the Verbose Logging is not persistent across restarts and the still 3-5 sec actual pause delay.

But great job!

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

Logging just shows There was an issue creating the log file. but I feel you already know that.

Yeah, Windows being Windows. I will continue looking into it, thanks for bringing it to my attention! :)

Verbose Logging is not persistent across restarts

That will be in the next build.

pause delay

Might not be a whole lot to do about this, Windows makes this sort of thing nearly impossible. I'll add it to the todo list to see if it can be improved.

Can set/change both global + specific hotkeys just time.

🎉 Glad to hear it is working now! Thanks again for the troubleshooting, you gave great info and it was a big help. 💙

from nyrna.

JReming85 avatar JReming85 commented on June 21, 2024

from nyrna.

Merrit avatar Merrit commented on June 21, 2024

Hmm, after testing it some more I can only reproduce the issue on Windows 11; both Windows 10 and Linux suspend instantly, though for me it also happens with the most recent stable build.

from nyrna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.