kulvind3r / GamingGaiden

Gameplay Time Tracker for PC and Emulator games
GNU Affero General Public License v3.0
90 stars 3 forks source link

Error while opening #2

Closed xShadowlift closed 11 months ago

xShadowlift commented 11 months ago

Running as admin gives the following error, and it doesn't launch.

Import-Module : The specified module '.\modules\PSSQLite' was not loaded because no valid module file was found in any
module directory.
At C:\Users\HP\Downloads\GamingGaiden\GamingGaiden\GamingGaiden.ps1:8 char:2
+     Import-Module ".\modules\PSSQLite"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (.\modules\PSSQLite:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Import-Module : The specified module '.\modules\ThreadJob' was not loaded because no valid module file was found in
any module directory.
At C:\Users\HP\Downloads\GamingGaiden\GamingGaiden\GamingGaiden.ps1:9 char:2
+     Import-Module ".\modules\ThreadJob"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (.\modules\ThreadJob:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Import-Module : The specified module '.\modules\HelperFunctions.psm1' was not loaded because no valid module file was
found in any module directory.
At C:\Users\HP\Downloads\GamingGaiden\GamingGaiden\GamingGaiden.ps1:10 char:2
+     Import-Module ".\modules\HelperFunctions.psm1"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (.\modules\HelperFunctions.psm1:String) [Import-Module], FileNotFou
   ndException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Import-Module : The specified module '.\modules\UIFunctions.psm1' was not loaded because no valid module file was
found in any module directory.
At C:\Users\HP\Downloads\GamingGaiden\GamingGaiden\GamingGaiden.ps1:11 char:2
+     Import-Module ".\modules\UIFunctions.psm1"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (.\modules\UIFunctions.psm1:String) [Import-Module], FileNotFoundEx
   ception
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

image

Running without admin gives the following

image

I just installed it

xShadowlift commented 11 months ago

Same issue on D: drive

kulvind3r commented 11 months ago

The 2nd image in your screenshot is an expected behavior, which means that the application is already running. Check your tray for the App icon.

and Did you follow the How to Install instructions correctly?

You are suppose to run the "install.bat" using "Run as Administrator" and that is necessary only one time.

After that you are suppose to always start the application from the desktop / start menu shortcut it creates. And you don't need to run the shortcut as admin.

xShadowlift commented 11 months ago

Yes, I did follow How to Install instructions.

https://github.com/kulvind3r/GamingGaiden/assets/95278999/676a64dd-5b34-433b-a1f1-c1ed17189389

^ Here is the video of the full error.

kulvind3r commented 11 months ago

After you double click the shortcut to start and the brief command line window flashes. The application actually launches and runs in system tray. I told you that in my last reply!! you don't even check the tray for the application in your video above!!.

It is a tray application it doesn't have any window GUI. All operations are done from right clicking the tray icon. Please check your system tray to see the application running.

And again, don't run the shortcut as administrator, that will do nothing. Launching it by double clicking is enough.

If you try to run the application when it is already running, it will detect and not start another instance. That is by design. Check your system tray after starting and if it is not running in system tray, reply again.

Here are some youtube demos that are present in the readme of the repo.

https://github.com/kulvind3r/GamingGaiden#feature-demos

you can see any of the demos and check how to use the application from the tray.

xShadowlift commented 11 months ago

okay okay, I thought we would get GUI. Thanks!