Giter Site home page Giter Site logo

tauri-inf-issue's Introduction

Tauri .inf issue reproduction

I am trying to install OpenVPN Tap driver on Windows. Required driver files are embedded as additional files https://v2.tauri.app/develop/resources/.

Interestingly when built on on Mac/Linux everything is fine. When built on Windows .inf file for some reason is different and driver installation fails. You can reproduces this yourself by building application on Windows and then trying to run driver install command.

When application is installed, go to install directory -> resources/tap-unzipped/amd64 and run "./devcon.exe" install ./OemVista.inf tap0901 command.

  • If built on Mac/Linux it will succeed.
  • If built on Windows it will fail.

Now unzip resources/tap.zip and try running the same command, it should succeed.

Tauri does something to files on Windows when embedding resource files, the OemVista.inf file size is slightly different as well. The workaround I found was to use zip file.

When testing this it is STRONGLY recommended to run installer inside Windows Sandbox because this installs a driver.

Building

Install moon and rustup

pnpm install
# Run on Mac/Linux
moon run tauri:build-windows-cross
# Run on Windows
moon run build

tauri-inf-issue's People

Contributors

minht11 avatar

Watchers

 avatar

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.