WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@podsvirov
Copy link
Collaborator

Addition:

  • typstudio: depends to webview2-loader

Strategically this changes needed for all tauri-based applications.

@podsvirov podsvirov added new-package Pull request which adds new package(s) help-wanted labels Dec 6, 2025
@podsvirov
Copy link
Collaborator Author

All gool on my local PC, but in CI:

error: failed to run custom build command for `vswhom-sys v0.1.2`
...
    running: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\lib.exe" "-out:D:\\_\\B\\src\\build-UCRT64\\src-tauri\\target\\release\\build\\vswhom-sys-50d4d0702e713d97\\out\\libvswhom.a" "-nologo" "D:\\_\\B\\src\\build-UCRT64\\src-tauri\\target\\release\\build\\vswhom-sys-50d4d0702e713d97\\out\\ext/vswhom.o"
    LINK : fatal error LNK1181: cannot open input file 'D:\_\B\src\build-UCRT64\src-tauri\target\release\build\vswhom-sys-50d4d0702e713d97\out\ext\vswhom.o'
    exit code: 1181

@podsvirov podsvirov requested a review from ognevny December 6, 2025 13:49
@ognevny
Copy link
Collaborator

ognevny commented Dec 6, 2025

that's probably cargo-tauri issue which picks VS installed on GHA machine instead of our toolchain. I don't quite understand many changes here, especially using prebuilt DLLs

@podsvirov
Copy link
Collaborator Author

From webview2-rs:

For the gnu targets, it will link against the import lib for WebView2Loader.dll instead, and you will need to place this DLL next to your executable

@podsvirov
Copy link
Collaborator Author

podsvirov commented Dec 6, 2025

I don't quite understand many changes here

Because typstudio no longer maintained and use tauri v1 (current version 2).

@ognevny
Copy link
Collaborator

ognevny commented Dec 6, 2025

Because typstudio no longer maintained and use tauri v1 (current version 2).

does it worth it then? we're avoiding shipping prebuilt DLLs (they're mostly not open-sourced and their usage is restricted by licenses)

@podsvirov
Copy link
Collaborator Author

@podsvirov
Copy link
Collaborator Author

Distribute a WebView2 app as a single executable file - question: how to do this in MSYS2?

@podsvirov podsvirov force-pushed the webview2-loader-new-package branch 2 times, most recently from 675ac61 to 3b75134 Compare December 7, 2025 19:27
@podsvirov podsvirov force-pushed the webview2-loader-new-package branch 3 times, most recently from 65f33bb to 80c7250 Compare December 7, 2025 20:33
@podsvirov podsvirov force-pushed the webview2-loader-new-package branch from 80c7250 to 1408e68 Compare December 7, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help-wanted new-package Pull request which adds new package(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants