Comments (3)
Absolute paths in PowerShell must start with a drive letter, and some of *_DIR variables don't look like this. For instance, /bin
won't work. Could you share how exactly *_DIR variables look like?
from pint.
This is the directory I add to the path, where pint is located:
echo %pint_dir%
C:\Users\codemon\work\apps\cmder\pint
and this is the custom directory for the shims:
echo %pint_shim_dir%
C:\Users\codemon\work\apps\cmder\bin
so as you can see they are absolute. I get them as relative paths from %cmder_root% that cmder itself provides, but apparently they are translated to absolute paths.
from pint.
Did some more testing and the problem seems to be having another 'apps' in your path.
So for instance if you have 'somepath\apps\anothersubpath\pint', pint will get confused when figuring out the location of its own 'apps' folder. I moved pint 2 directories up (in the work folder) and it's working fine now.
Idk, it doesn't seem like such a big deal, should have seen it coming. I'd make the modifications myself but I don't know a speck of powershell.
Thank you for this nifty program btw :) .
Edit:
Scratch that, definitely fails when trying to extract with 7z.
I digged around in the code and saw how you unpack.
C:\Windows\system32\cmd.exe /d /c "C:\Users\codemon\work\pint\deps\7z\7z.exe" x -y -bd -bso0 -bsp0 -aoa -o "C:\Users\codemon\AppData\Local\Temp\pint-aria2-1404404847" "C:\Users\codemon\work\pint\dist\aria2--64--aria2-1.33.1-win-64bit-build1.zip"
fails on my system (win7 x64 sp1) even when run by hand (i made the temp directory). Too long arguments from what I see.
& "$(get-dependency '7z')" x $type -y -bd -bso0 -bsp0 -aoa "-o`"$dir`"" `"$file`"
works.
from pint.
Related Issues (4)
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 pint.