Comments (9)
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.
This is a direct citation from the boscop repo. Maybe we should discuss this there too?
from tauri.
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.
Wow - that's ugly - but understandable nonetheless.
from tauri.
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.
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.
I think will be closed by the merge of feature/no-server
from tauri.
At least it seems so that final bundles will not have this problem.
from tauri.
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)
- [bug] Setting transparency does not work properly HOT 1
- window.start_resize_dragging not allowed. Permissions associated with this command HOT 1
- [bug] MSI bundling fails if package.productName contains a period. HOT 5
- [bug] multiwebview does not use provided user agent string HOT 1
- taurijs mute current window? HOT 1
- In the v2 version, when I call the open method to open a file directory, the program freezes[bug] HOT 7
- [bug] Tray icon doesn't clean up on exit when `TrayIcon.getById` is called from js side HOT 1
- [bug] [v2] Can not open the dev console HOT 2
- [bug] There is a probability that creating a new window will result in garbled folders in the software runtime directory, which is the data directory of webview HOT 2
- [bug] Android tauri-plugin capabilities disallowed HOT 2
- Cannot drag tauri app window on MacOS when titleBarStyle is set to Overlay HOT 1
- [bug] Tauri App's Close Functionality Fails After Minimize/Maximize Actions (Windows)
- [bug] failed to select a version for the requirement `hyper-rustls` HOT 2
- [bug] setMinSize will change window position in windows
- [bug] When using tauri http to upload large files with formData, it's prone to crashing. HOT 1
- [bug] `error sending request for url (http://192.168.0.x:1420/)` on iOS HOT 3
- [bug] inability to change the height/length of the window using the drag area HOT 2
- [bug] TypeError: undefined is not an object (evaluating 'window.__TAURI_INTERNALS__.invoke') HOT 1
- [bug] macOS audio bug with .webm
- [feat] The app couldn't run on android 7 (Nogutat) emulator or physical device by tauri build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tauri.