Coder Social home page Coder Social logo

devbox-choco's People

Contributors

cvladan avatar michfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

warthurton

devbox-choco's Issues

DevBox-ConEmu uses Stop-OnAppIsInstalled, which is not available on first install

I can understand the need to share some common code amongst packages, but IMHO, it shouldn't be in another depedent package -- but should be a basic nuspec include, used only during installation.

As it stands, DevBox-ConEmu throws an error about missing Stop-OnAppIsInstalled (though ConEmu will completely install) because that function is not defined. Although you've included a couple of additional packages they are not yet available on a first time install.

What I do, for installation only dependencie:

  • put the code in a shared source directory like this
  • include the source in the .nuspec like this
  • use a helper to properly resolve the current directory and dot source the files like this (there are a lot of ways to attempt to resolve the current directory, many of which fail under certain circumstances -- this is the most accurate I was able to create)

This way there is no need to depend on another package, muddy a users system with additional stuff, etc.

Also, I see that your helper code is in Devbox-Common.extension as psm1 files. psm1 is intended to export functions to external callers with Export-ModuleMember and should be used with PowerShells Import-Module cmdlet. For helper functions used by packages like this, it's less ceremonious to just use a standard ps1 and dot source as I described above.

In any event, great job on the ConEmu package -- much better than the original package, which was put together quite hastily and hasn't been updated in ages.

Thanks!

Devbox-GitFlow works only when started as administrator

Error is something like... can't write getopt.exe. When executed with elevated privileges, as administrator, everything works as expected.

Workaround is to start again cmd.exe but as administrator, and type cinst -force Devbox-GitFlow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.