Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Windows package type: msedge #946

Open
frogillius opened this issue Feb 12, 2025 · 2 comments
Open

New Windows package type: msedge #946

frogillius opened this issue Feb 12, 2025 · 2 comments

Comments

@frogillius
Copy link

Potential (not replacement, but) alternative to the Electron packaging option for windows.

At the time of writing, this is a windows-only solution. I am looking into ways to make this happen for other platforms, but tauri might be the only (small) alternative.
Also a potential solution for Windows installer packaging option.

It's a pretty simple package type, almost as light as the html.
BUT:

  • Certain Tiny10 and Tiny11 installs may not be compatible (due to the removal of msedge)
  • Only works on windows.
  • Needs a running webserver (maybe bundle caddy?)

Code (batch):

:: replace server.exe with whatever server you use (whether caddy, php, or something else)
start /b server.exe 
start msedge --app=http://localhost:(port)
@frogillius
Copy link
Author

Update:

Server is not needed. Use this to do the same thing:

@echo off
:: Get the current working directory
set "cwd=%CD%"

start msedge --app="file:///%cwd%\test.html"

@CST1229
Copy link

CST1229 commented Feb 18, 2025

this also works for any other chromium-based browser as well, like chrome --app=https://turbowarp.org/

(the closest thing in firefox is the -kiosk URL parameter, but that forces fullscreen and disables the rest of the browser ui)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants