-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check target path before installation #60
Comments
|
really? basically, we cannot fix it. some package need to run on STABLE path. |
This can be solved if you refactor your program like this:
To support older versions, if the APP_SCOOP environment variable is missing, it will be equal to the SCOOP variable. This way you can separate the application directory and the SCOOP application files. By default, they will all be located in one directory. |
If you have try the default installation, you will find that Scoop simply adds For ScoopInstaller/Scoop#5726, we just need to check the path is empty or not before install.
This is a thing with Scoop Core, it's nothing to do with installation scripts. BTW, when allow apps install to a path that out of Scoop Root Directory, more issues will arise, e.g. junction creation, disk performance, etc. |
Ok. Personally, I haven't looked into the details of SCOOP, so I can't comment. A spontaneous idea came to my mind. Now I understand that your package is dependent on other packages. |
Description
Check if the target path of Scoop installation contains Spaces, non-ASCII characters, or it is a non-empty directory before installation then ...
The text was updated successfully, but these errors were encountered: