ALonelyJuicebox / OFMetadataToStash

This script imports OnlyFans metadata into your Stash Database
BSD 2-Clause "Simplified" License
70 stars 10 forks source link

errors within the powershell script #15

Closed holy-elbow closed 10 months ago

holy-elbow commented 1 year ago
elseif: /home/""/Downloads/OFMetadataToStash/OFMetadataToStash.ps1:703
Line |
 703 |     elseif($userscanselection -eq 2){
     |     ~~~~~~
     | The term 'elseif' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
elseif: /home/""/Downloads/OFMetadataToStash/OFMetadataToStash.ps1:1015
Line |
1015 |      elseif($userscanselection -eq 3){
     |      ~~~~~~
     | The term 'elseif' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
else: /home/""/Downloads/OFMetadataToStash/OFMetadataToStash.ps1:1019
Line |
1019 |      else{
     |      ~~~~
     | The term 'else' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

no changes have been made to the script

ALonelyJuicebox commented 1 year ago

Sorry for the delay! If you can, give the dev build a go and or wait a few days for the official release and please let me know if this resolves your issue. I'm also curious as to what version of Powershell you happen to be running. Just pop open a Powershell windows and type in $host and hit enter.

Here's the link to that dev build. https://github.com/ALonelyJuicebox/OFMetadataToStash/tree/dev

ALonelyJuicebox commented 10 months ago

New 0.6 build is a complete refactor, this should be resolved.