Giter Site home page Giter Site logo

Comments (2)

fasterthanlime avatar fasterthanlime commented on September 28, 2024 1

Look at this cute thing:

image

from itch-setup.

fasterthanlime avatar fasterthanlime commented on September 28, 2024

Yeeep silent mode has been used in the past to:

  • Skip "pick a folder" on Windows when I was investigating a hard-to-reproduce bug when healing a folder (that's how itch-setup installs the app). On Windows it hides the window, so it's sorta silent.
  • Test the error state on macOS (it shows "silent mode not supported on macOS")

However I intend to make the silent mode work properly on Linux at some point.

A few notes on that:

  • It'll still need gtk3+ libraries on startup, that's unavoidable
    • It technically isn't unavoidable - but it would be impractical to move to a dlopen model right now, unless https://github.com/gotk3/gotk3 started supporting it (and with the current Go toolchain, I'm not holding my breath)
  • However, it shouldn't require an X display (or wayland server or whatever), so we can't just do the Windows trick where we create a window and then hide it
  • The proper way to implement is to have a "UI" interface somewhere in https://github.com/itchio/itch-setup/blob/master/native/native_linux.go that somehow works for both GTK (an asynchronous, callback-based thing) and the CLI (an immediate thing). That way both can still have the same "native bits" (how to launch, how to relaunch something, where are XDG files located, etc.)

It's probably not a lot of work, someone just needs to, y'know, do it. I can try for next week, but no guarantees!

from itch-setup.

Related Issues (17)

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.