Comments (4)
You can first remove it, then after restart the system, do a fresh install.
from scoop-nerd-fonts.
@tan-wei That could work but probably not as you think.
If you take a look at the code for the removal, lines 24 and 25, you'll see that if the files are in use it would just fail silently at removing them.
Then, when you restart the system the files will be released, allowing you to overwrite them with your fresh installation.
The fonts would not really be uninstalled and this would not be any better than restarting the system before attempting to upgrade the fonts.
I mean, there are plenty of workarounds but the package is not working correctly here: at the very least, the error in the installer/remover code should translate in failure to install/remove package and not silently failing and moving on.
from scoop-nerd-fonts.
@abejenaru Got it. Actually, I always use this "workaround" to upgrade fonts :-(, it is not elegant.
from scoop-nerd-fonts.
[Using shovel installer instead of scoop installer ...]
R:\>shovel update Cascadia-Code imagemagick
Cascadia-Code: 2108.26 -> 2110.31
imagemagick: 7.1.0-12 -> 7.1.0-13
Updating 2 outdated apps:
Updating 'Cascadia-Code' (2108.26 -> 2110.31) [64bit]
Downloading new version
Starting download with aria2 ...
>>> DOWNLOAD ELIDED <<<
Download: (OK):download completed.
Checking hash of CascadiaCode-2110.31.zip ... ok.
Uninstalling 'Cascadia-Code' (2108.26)
Running uninstaller script...
The 'Cascadia-Code' font family has been uninstalled and will not be present after restarting your computer.
Unlinking ~\scoop\apps\Cascadia-Code\current
Installing 'Cascadia-Code' (2110.31) [64bit] [nerd-fonts]
WARN By installing you accept following license: OFL-1.1 (https://spdx.org/licenses/OFL-1.1.html)
Loading CascadiaCode-2110.31.zip from cache.
Extracting CascadiaCode-2110.31.zip ... done.
Running installer script...
+
-ERROR The requested operation cannot be performed on a file with a user-mapped section open.
from scoop-nerd-fonts.
Related Issues (20)
- Add Sarasa Term SC Nerd
- acl issue during update
- [email protected]: hash check failed HOT 1
- [Request] Intel One Mono
- [Request] MesloLGS NF HOT 2
- Operator-Mono-Fonts is not available now HOT 2
- Anuphan is not available now
- [Request]Add the "Glow Sans" font πΆβπ«οΈ
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]: hash check failed HOT 1
- [email protected]: Decompress Error
- Add NerdFontsSymbolsOnly HOT 4
- [email protected]: hash check failed HOT 1
- [Request] Add monaspace HOT 1
- Add Monaspace Nerd Font HOT 8
- Updating font fails on Windows 10 (21H2) HOT 4
- add LxgwNeoZhiSong
- install font-patcher HOT 1
- the file naming convention of Sarasa Gothic has changed
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 scoop-nerd-fonts.