ubsicap / sltt-app

0 stars 0 forks source link

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

Closed ericpyle closed 6 months ago

weagale commented 6 months ago

Scenario 1 Passes:

  1. Uninstalled version 1.0.3 from the Control Panel (Eric and I had installed that for the demo video).
  2. Downloaded and installed 1.0.5
  3. Clicked the sltt-app icon to launch > logged in/authenticated.
  4. Minimized the client.
  5. Clicked on the sltt icon in the taskbar.
  6. Verified sltt restored.
  7. Minimized the client.
  8. Double-Clicked on the sltt icon icon on the desktop.
  9. Verified sltt restored.

For Scenario 2 - Copy ffmpeg to resource folder if missing:

  1. close the app
  2. start a cmd prompt
  3. in terminal, run del %TEMP%\compression-server\resources\ffmpeg-x64.exe cd %USERPROFILE%\AppData\Local\Programs\sltt-app .\sltt-app.exe
  4. check if the console log (in the terminal) says: Copying ffmpeg resource to %TEMP%\compression-server\resources\ffmpeg-x64.exe
  5. Verified the message above was receceived.
  6. Verified the client app opened.