Lofter1 / anyflip-downloader

Download anyflip books as PDF
GNU General Public License v3.0
226 stars 38 forks source link

Have to "download" again each time I open PowerShell #61

Open DrakeGrandX opened 2 months ago

DrakeGrandX commented 2 months ago

Whenever I open PowerShell, I have to "download" AnyFlip Downloader again (I do so by copy-pasting the line of code on the "How to download" section), otherwise it won't recognize the "anyflip-downloader" command.

OS: Windows 11

In case it might be helpful, the program gets (re-)installed in "users/[name]/AppData/Local" by default, and I haven't tried to install it somewhere else so far (as I don't know how to do so). Additionally, do note that Anyflip Downloader doesn't actually uninstall, and nothing is missing from its folder, when I close PowerShell.

The following is the error message that occurs if I run the "anyflip-downloader" command without first downloading it again (the first paragraph having been translated from my language to English):

anyflip-downloader : Term 'anyflip-downloader' not recognized as name of cmdlet, function, executable program
or script files. Check the spelling of the name or verify that the path is included and correct, then try again.
In line:1 car:1
+ anyflip-downloader [link]
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (anyflip-downloader:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException