Coder Social home page Coder Social logo

Comments (3)

cheeseonamonkey avatar cheeseonamonkey commented on August 19, 2024 1

@jackschedel
The original repo is a mess, and I like your improvements :)

I have a couple more bugs in mind too, but I want to familiarize myself with Svelte first

from koalaclient.

cheeseonamonkey avatar cheeseonamonkey commented on August 19, 2024

The top answer there is a bit outdated (2015).

While require("shell").openExternal("http://www.google.com") would work fine, it could also be annoying to set up with unknown URLs (links in chat messages) and in multiple places.

There is an electron setting, in the webPreferences parameter of the Electron function createWindow to open externally by default. The new code here might be something like:

  win = new BrowserWindow({
	  autoHideMenuBar: true,
    show: false,
    webPreferences: {
      preload: path.join(__dirname, 'preload.js'),
      nativeWindowOpen: true // set to true to open links externally by default
    }
  });

from koalaclient.

jackschedel avatar jackschedel commented on August 19, 2024

@cheeseonamonkey thanks for the info. I've been really busy lately so I haven't been updating the app as much and wouldn't have gotten around to it in a while, so your comment definitely sped things up by a few weeks xD.

The change should be live on the latest release. https://github.com/jackschedel/gpt.koaladev.io/releases/tag/4cd8e6175cd804021c154f6da702cef2cc5fede8-5306093363 (I won't be able to verify that it works as intended until Monday tho)

Next time, feel free to submit a PR too.

from koalaclient.

Related Issues (20)

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.