Skip to content

Running HTML games on Desktop via command line through itch app #2996

Description

@hifron

HTML games could be PWA(which could create desktop or phone icon), but running them locally is security problem and Safari and Mozilla already abandoned PWA.

But running html game locally is possible via itch app and is clickable. But running them through commandline via itch app like:

.itch/itch --appname "something"

is problem. This would allow to make Desktop menu shortlinks not only on Linux, but also on Windows.

Tray icon itch app has support for launching game but icon in startup menu or Desktop icon would be then possible(and if not by itch in some patch, then by 3rd party tool)

Local html files is a security breach but you run them in sandbox(which is only some limited help according google) but a development in web.dev is that also online web pages could have access to local filesystem, USB or something if permission allows and is special API for that, but HTML today's itch.io games don't require this in current state, but that may change and maybe Google and their Chromium issue list may be a place where to ask questions...

But in current state I think that running itch on command line with appname and name of the app in tray icon could launch game and this is also what Steam does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions