diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..22229db8 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch file", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "cmd/mesh/main.go", + "args": [ + "-autoconf" + ], + "console": "integratedTerminal", + "asRoot": true, + "env": { + "PATH": "${env:PATH}" + } + } + ] +} \ No newline at end of file diff --git a/contrib/msi/build-msi-gui.sh b/contrib/msi/build-msi-gui.sh index 756e4717..ee527b1f 100644 --- a/contrib/msi/build-msi-gui.sh +++ b/contrib/msi/build-msi-gui.sh @@ -51,7 +51,7 @@ fi PKGNAME=$(sh contrib/semver/name.sh) PKGVERSION=$(sh contrib/msi/msversion.sh --bare) PKGVERSIONMS=$(echo $PKGVERSION | tr - .) -PKGINDEXFILE=contrib/ui/mesh-ui/index.html +PKGUIFOLDER=contrib/ui/mesh-ui/ui PKGLICENSEFILE=LICENSE.rtf #Build winres @@ -156,6 +156,7 @@ cat > wix.xml << EOF + @@ -211,11 +212,8 @@ cat > wix.xml << EOF Source="mesh-ui.exe" KeyPath="yes" /> - + wix.xml << EOF Name="RiV-mesh" Description="RiV-mesh is IoT E2E encrypted network" Directory="DesktopFolder" - Target="[MeshInstallFolder]mesh-ui.exe" + Target="[MeshInstallFolder]mesh-ui.exe ui\index.html" WorkingDirectory="MeshInstallFolder"/> ASSISTANCE_START_VIA_REGISTRY