Code Monkey home page Code Monkey logo

Comments (5)

sygiegiehs avatar sygiegiehs commented on June 12, 2024 1

好的,感谢您的无私付出!

from lyricify-app.

WXRIW avatar WXRIW commented on June 12, 2024

Lyricify 是有这样的设计的,为了防止同时运行多个实例, Lyricify 4 在启动时会检测当时是否有其他 Lyricify 4 实例运行,如果有则会打开在运行的实例,不再启动新实例。
您所遇到的这个问题是由于您在极短的时间内多次尝试启动 Lyricify,在没有检测到已完全加载的实例前(即加载出窗口),Lyricify 是不会自动停止新实例加载的,这主要是为了避免在特殊情况下无法启动 Lyricify 实例的问题。
所以目前能给到的解决方案就是尽量避免极短时间内多次启动。后期如果遇到更好的解决方案我也会在 Lyricify 上跟进。

from lyricify-app.

sygiegiehs avatar sygiegiehs commented on June 12, 2024

大多数软件(如 Spotify)在多次点击后都不会开启多个应用程序实例,所以我认为应该是有更好的解决方案的。
因为设备是触摸大屏,在 Windows 上点击图标常常不能准确命中,所以会习惯多点几次。

from lyricify-app.

WXRIW avatar WXRIW commented on June 12, 2024

Lyricify 与他们大概率采用的是一样的方案,即 Mutex。但为了避免部分情况下无法启动 Lyricify 的情况(如 Lyricify 已运行但因异常没有正常打开窗口),我加上了窗口判断模块,也就是说必须检测到有窗口才认为有实例,这就造成了在性能较低的设备上启动时有概率出现你所描述的问题。
后期我将进一步优化本问题,预计于 4.3.0 前解决,敬请期待。

from lyricify-app.

WXRIW avatar WXRIW commented on June 12, 2024

已修复,等待新版本更新。

from lyricify-app.

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.