Comments (2)
PS > scoop search office-tool-plus
Results from local buckets...
Name Version Source Binaries
office-tool-plus 10.10.7.0 extras
from extras.
@niheaven "ScoopInstaller/Scoop@77b66cc"
I don't know what this powershell code is doing, but it's clear to me that this is the problem
I temporarily solved the problem using the following steps(roll back some code):
Delete the following code
# escape N consecutive backslash(es), which are followed by a double quote or at the end of the string, to 2N consecutive ones
$s = $_ -replace '(\\+)(""|$)', '$1$1$2'
# quote the path if it contains spaces and is not NSIS's '/D' argument
# ref: https://nsis.sourceforge.io/Docs/Chapter3.html
if ($s -match ' ' -and $s -notmatch '/D=[A-Z]:[\\/].*') {
$s -replace '([A-Z]:[\\/].*)', '"$1"'
} else {
$s
}
Then add the following code
# escape N consecutive backslash(es), which are followed by a double quote, to 2N consecutive ones
$s = $_ -replace '(\\+)"', '$1$1"'
# escape N consecutive backslash(es), which are at the end of the string, to 2N consecutive ones
$s = $s -replace '(\\+)$', '$1$1'
# escape double quotes
$s = $s -replace '"', '\"'
# quote the argument
"`"$s`""
Install "office-tool-plus" again
Or use Git-Bash to roll back to the scoop version before 77b66cc was submitted.
For example 9770c86:
git reset --hard 9770c86 # roll back to 9770c86
scoop install office-tool-plus # install otp again
from extras.
Related Issues (20)
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]: extract failed HOT 1
- [email protected]: hash check failed HOT 1
- [Request]: add ownCloud client HOT 1
- [Request]: Suwayomi 1.3.3 (Tachidesk-JUI) HOT 2
- [email protected]: decompress error HOT 1
- [email protected]: download via aria2 failed HOT 1
- [Request]: Anim8or
- [Bug]: Fix install errors on removing a non-existent file
- psiphon3@183: Hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [Request]: GUI.for.Clash
- [Bug]: Godot Installation running in the background HOT 2
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [Request]: EMDB: Eric's Movie DataBase HOT 1
- [Bug]: KeePassXC us missing a dependency HOT 1
- [email protected]: hash check failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extras.