Hi Scoop community!
I've run through the issue section and wiki on GitHub in search for this, but have come up empty. I really enjoy how Scoop isolates installs to a single directory and isn't relying or requiring admin privileges, but I was wondering whether it's possible to change the installation path?
E.g.
$ scoop install python # ends up in %userprofile%\scoop
$ scoop install python --prefix c:\my\custom\dir # ends up in c:\my\custom\dir
Some approaches I've considered are:
c:\my\custom\dir
to %userprofile%\scoop
to "trick" scoop into installing elsewhere.$scoopdir
to c:\my\custom\dir
But was hoping for something simpler. Alternative one doesn't work, for example, if the user already has apps installed there, unless I delete those first.
$persist_dir
SCOOP
and SCOOP_HOME
environment variables used by AppVeyor, and they seem to do the trick, somewhat. They don't appear editable post-install, as Scoop complains about directories missing, and about Scoop itself not being available in apps/
which is understandable. For now, since I'm calling this from within a script/wrapper, I'm working around it by recreating the SCOOP_HOME directory structure, including shims/scoop
and apps/scoop
prior to installing any apps. Not ideal, and am still interested to hear of alternatives!
SCOOP_HOME
is only used by the bucket scripts in bin
(like checkver.ps1
and auto-pr.ps1
, See: https://github.com/ScoopInstaller/Main/tree/master/bin)
Program 'node.exe' failed to run: The specified executable is not a valid application for this OS platform.
oraclejdk-8
is unavailable
$Env:PATH
contents so I can restore my scoop installation? Windows has just reset my user PATH
environment variable completely after an update, and I can neither run scoop as it's not on PATH anymore, nor reinstall it from get.scoop.sh
as the script says scoop is already installed. :/
scoop install foo bar baz
?
du.exe
shim that exists is the sysinternals
one)
gow
obviously works, but this breaks as soon as sysinternals
updates and snags the du.exe
file again. I'm hoping there's a more robust solution.
@CVA_JamesMiller_twitter
getting new error today any ideas. Updating Scoop...
fatal: this operation must be run in a work tree
Update failed.
I am seeing this effect as well but only if the SCOOP environment variable is set. If I leave it in my %HOME% all works well. Any ideas?
{
"version": "1.2.0",
"homepage": "https://www.er.run/",
"description": "Wormhole is a shortcut between computer and phone.",
"license": "Unknown",
"url": "https://files.octopusgame.com/os/WormholeInstaller.exe#dl.7z",
"hash": "A9924F03838C5D1595A732E7823D9AD122C7530BE6D35257185E3475D5F4029B",
"extract_dir": "Wormhole",
"bin": "Wormhole.exe",
"shortcuts": [
[
"Wormhole.exe",
"Wormhole"
]
],
"checkver": {
"url": "https://www.er.run/release",
"xpath": "//div[@class='version'][1]/div[@class='text']/text()"
},
"autoupdate": {
"url": "https://files.octopusgame.com/os/WormholeInstaller.exe#/dl.7z"
}
}