Coder Social home page Coder Social logo

Comments (4)

MikeDev101 avatar MikeDev101 commented on May 18, 2024

...or, if possible, allow extensions to be loaded from the same directory as the packaged file is at?

from packager.

GarboMuffin avatar GarboMuffin commented on May 18, 2024

I'm curious about what you're trying to do. Are you trying to make development easier, or trying to store the extension locally so that the project works offline, or something else?

I'm not sure why that check was added to begin with, it will probably be removed, but I'd still like to know what this is for.

from packager.

MikeDev101 avatar MikeDev101 commented on May 18, 2024

I'm curious about what you're trying to do. Are you trying to make development easier, or trying to store the extension locally so that the project works offline, or something else?

I'm not sure why that check was added to begin with, it will probably be removed, but I'd still like to know what this is for.

  1. Make the extension code embed with the packaged project to make offline applications easier
    Or
  2. Support for drag-n-drop extension code updating would make updating code easier
  3. I messed around a little bit with the check but didn't have much luck

from packager.

GarboMuffin avatar GarboMuffin commented on May 18, 2024

This now possible in the ongoing rewrite of the packager, https://packager-staging-do-not-use.turbowarp.org/ (the URL looks scary but it's pretty much done at this point)

This custom JS will load the extension "fetch.js" in the same directory as the HTML file:

vm.extensionManager.loadExtensionURL((new URL("fetch.js", location.href)).href);

I would like to make using custom extensions easier at some point. (opened some other issues for that)

from packager.

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.