ubsicap / sltt-app

0 stars 0 forks source link

feat(sltt-app): make only one instance of app #3

Closed ericpyle closed 5 months ago

ericpyle commented 5 months ago

What issue(s) is this trying to resolve?

How does it all work?

What particularly has changed?

Steps for testing

Scenario 1 - Single instance of app

  1. after installing, double click on the app icon
  2. minimize the app and double click on the app icon again
  3. check if the app is restored from the minimized state

    Scenario 2 - Copy ffmpeg to resource folder if missing

  4. close the app
  5. in terminal, run
    del %TEMP%\compression-server\resources\ffmpeg-x64.exe
    cd %USERPROFILE%\AppData\Local\Programs\sltt-app
    .\sltt-app.exe
  6. check if the console log says: Copying ffmpeg resource to %TEMP%\compression-server\resources\ffmpeg-x64.exe

ticket: https://github.com/ubsicap/sltt/issues/2 commit-convention: https://www.conventionalcommits.org/en/v1.0.0/