Skip to content

Commit

Permalink
[Settings] Fix HTML settings build (#10307)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoyuppe committed Mar 18, 2021
1 parent fa5ce63 commit 7c28459
Show file tree
Hide file tree
Showing 12 changed files with 939 additions and 65 deletions.
4 changes: 4 additions & 0 deletions installer/PowerToysSetup/Product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@
<Component Id="settings_js_bundle" Guid="9EF539C1-2F50-421E-B074-C58ED3A9785C" Win64="yes">
<File Source="$(var.RepoDir)\src\settings\settings-html\dist\bundle.js" KeyPath="yes" />
</Component>
<Component Id="settings_css" Guid="9B8EBF56-A7A7-4D83-B53C-75A692E2F95A" Win64="yes">
<File Source="$(var.RepoDir)\src\settings\settings-html\dist\layout.css" KeyPath="yes" />
</Component>
</DirectoryRef>

<DirectoryRef Id="DesktopFolder">
Expand Down Expand Up @@ -814,6 +817,7 @@
<ComponentRef Id="settings_html" />
<ComponentRef Id="settings_dark_html" />
<ComponentRef Id="settings_js_bundle" />
<ComponentRef Id="settings_css" />
</ComponentGroup>
<ComponentGroup Id="ToolComponents" Directory="ToolsFolder">
<ComponentRef Id="BugReportTool_exe" />
Expand Down
1 change: 1 addition & 0 deletions src/settings-web/index-dark.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="dist/layout.css" />
<script>
window.output_from_webview = function(arg) {
if (typeof (window.external) !== 'undefined' && ('notify' in window.external)) {
Expand Down
1 change: 1 addition & 0 deletions src/settings-web/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="dist/layout.css" />
<script>
window.output_from_webview = function(arg) {
if (typeof (window.external) !== 'undefined' && ('notify' in window.external)) {
Expand Down

0 comments on commit 7c28459

Please sign in to comment.