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

Launch UWP app from command line #24534

Merged
merged 3 commits into from Oct 25, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Append default prefs to UWP app args

  • Loading branch information
ferjm committed Oct 24, 2019
commit aeac55af5e1bb32e70bfbd0a22c9cbac7832524e
@@ -61,7 +61,8 @@ Servo::Servo(hstring url, hstring args, GLsizei width, GLsizei height, float dpi
: mWindowHeight(height), mWindowWidth(width), mDelegate(aDelegate) {

capi::CInitOptions o;
o.args = *hstring2char(args);
hstring defaultPrefs = L" --pref dom.webxr.enabled";
o.args = *hstring2char(args + defaultPrefs);
o.url = *hstring2char(url);
o.width = mWindowWidth;
o.height = mWindowHeight;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.