Scoop: request: hyper-terminal

Created on 25 Aug 2017  路  8Comments  路  Source: lukesampson/scoop

can you add https://github.com/zeit/hyper to any bucket?

thx.

Most helpful comment

This should work 馃榾

{
    "version": "1.3.3",
    "license": "MIT",
    "url": "https://github.com/zeit/hyper/releases/download/1.3.3/hyper-1.3.3-full.nupkg#/dl.7z",
    "homepage": "https://hyper.is",
    "hash": "1b51d923e6e2bf03389056bd75d894321dd0db7d5fc365fb038101cc309be767",
    "extract_dir": "lib\\net45",
    "shortcuts": [
        [
            "Hyper.exe",
            "Hyper"
        ]
    ],
    "checkver": {
        "github": "https://github.com/zeit/hyper"
    },
    "autoupdate": {
        "url": "https://github.com/zeit/hyper/releases/download/$version/hyper-$version-full.nupkg#/dl.7z",
        "extract_dir": "lib\\net45"
    }
}

All 8 comments

I can make the manifest in the morning if no one beats me to it

_Sent from my Samsung SM-G955U using FastHub_

There was something with their installer that kept me from adding it. But I can't remember what it was... 馃槀

I've made the manifest but I can't seem to make a shortcut to the executable because the post_install script runs _after_ the shortcuts section is run. And at the moment a script block can't be chained in the installer section to run after a regular installer invocation like this:

    "installer": {
        "file": "hyper-setup.exe",
        "args": "--silent",
        "script": "
           # Copy files, etc
        "
    },

Right now the order is install->create shortcuts->post_install. So copying the installed files to scoops app directory for hyper won't happen until the last step, and can't happen before that unless I explicitly create an installer script in the pre_install section by echoing text to a (powershell) file and executing that as the installer. That script would call the hyper installer and then copy the files, and the shortcut would work properly. This is messy though.

The manifest is in a gist here.

It seems like the installer hangs if you click away from the terminal during installation as well. Stuck here at the moment

Did you try the hyper-1.3.3-full.nupkg which is a simple zipfile with the windows stuff in it?

This should work 馃榾

{
    "version": "1.3.3",
    "license": "MIT",
    "url": "https://github.com/zeit/hyper/releases/download/1.3.3/hyper-1.3.3-full.nupkg#/dl.7z",
    "homepage": "https://hyper.is",
    "hash": "1b51d923e6e2bf03389056bd75d894321dd0db7d5fc365fb038101cc309be767",
    "extract_dir": "lib\\net45",
    "shortcuts": [
        [
            "Hyper.exe",
            "Hyper"
        ]
    ],
    "checkver": {
        "github": "https://github.com/zeit/hyper"
    },
    "autoupdate": {
        "url": "https://github.com/zeit/hyper/releases/download/$version/hyper-$version-full.nupkg#/dl.7z",
        "extract_dir": "lib\\net45"
    }
}

Brilliant! That worked properly.

@matthewjberger Awaiting a PR 馃槃
I auto generate my GitHub activity via auto-pr.ps1 馃榿

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nitrocode picture nitrocode  路  3Comments

eBaeza picture eBaeza  路  3Comments

klauern picture klauern  路  3Comments

yetangye picture yetangye  路  3Comments

SinisterBlade picture SinisterBlade  路  3Comments