Small-Ku / turbo-bucket

My own bucket. The word turbo from suggestion by GitHub
The Unlicense
5 stars 0 forks source link

starward: error in Out-File #24

Closed Uranite closed 7 months ago

Uranite commented 7 months ago

It seems that this error causes the setup wizard to not be skipped And also for some reason config.ini is a folder This is the content of scoop\persist\starward image Here is the terminal output:

PS C:\Users\redacted> scoop install starward
Installing 'starward' (0.11.3) [64bit] from Small-Ku_turbo-bucket bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 3bdfdf|OK  |   1.0MiB/s|C:/Users/redacted/scoop/cache/starward#0.11.3#https_github.com_Scighost_Starward_releases_download_0.11.3_Starward_Portable_0.11.3_x64.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of Starward_Portable_0.11.3_x64.7z ... ok.
Extracting Starward_Portable_0.11.3_x64.7z ... done.
Running pre_install script...
Out-File : Could not find a part of the path 'C:\Users\redacted\scoop\persist\starward\config.ini'.
At line:1 char:85
+ ... UserDataFolder=$persist_dir\data" | Out-File $persist_dir\config.ini}
+                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (:) [Out-File], DirectoryNotFoundException
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand

Linking ~\scoop\apps\starward\current => ~\scoop\apps\starward\0.11.3
Creating shortcut for Starward (Starward.exe)
Persisting data
Persisting config.ini
'starward' (0.11.3) was installed successfully!
Notes
-----
Setup wizard would be skipped because of preset value of user data by pre-install scripts.
Small-Ku commented 7 months ago

Can you delete the folder and try to install again? Please reopen the issue when it still exists.