Giter Site home page Giter Site logo

Comments (9)

tensor-programming avatar tensor-programming commented on May 3, 2024

Will have to look into this. There is no way aside from building a custom PS script to bypass admin, even then it's not very secure.

from tauri.

nothingismagick avatar nothingismagick commented on May 3, 2024

This is a direct citation from the boscop repo. Maybe we should discuss this there too?

from tauri.

tensor-programming avatar tensor-programming commented on May 3, 2024

I saw that. I can push it back downstream if I find a solution, I do need to look at how and why this happens before I can have a real discussion about it. Since this problem only will happen with us when we use a webserver in production, its possible that we won't have to address it.

Loopback is permitted only for development purposes. Usage by a Windows Runtime app installed outside of Visual Studio is not permitted. Further, a Windows Runtime app can use an IP loopback only as the target address for a client network request.

You can read all about it here.

from tauri.

nothingismagick avatar nothingismagick commented on May 3, 2024

Wow - that's ugly - but understandable nonetheless.

from tauri.

tensor-programming avatar tensor-programming commented on May 3, 2024

We will find something. If its only for development then its not as much of an issue. If its in production then we need to perhaps bundle a small script in the executable and tell the user to run it with admin privileges the first time.

from tauri.

tensor-programming avatar tensor-programming commented on May 3, 2024

With production at least, we can schedule a powershell script to execute from the installer and bundle it into the msi. Then we just elevate the MSI to admin to execute it prior to executing the actual installation. As for the dev pipeline, it might just be a good idea to tell the users to run the script in the readme until an alternative can be found. Or maybe we can just supply a script that they can use. I've found that you really only need to run the command once and then its active.

So either we can just tell them to run it on their first time (on a new machine) or add it to the bundler-cli and have it run that one time if in windows.

from tauri.

nothingismagick avatar nothingismagick commented on May 3, 2024

I think will be closed by the merge of feature/no-server

from tauri.

nothingismagick avatar nothingismagick commented on May 3, 2024

At least it seems so that final bundles will not have this problem.

from tauri.

tensor-programming avatar tensor-programming commented on May 3, 2024

Alright, well lets close this for now; make a note of the command in the documentation and revisit it if it becomes a problem in the future.

from tauri.

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.