Skip to content

Commit 7bfd32d

Browse files
committed
another attempt
1 parent 6ab39e5 commit 7bfd32d

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"copyright": "Copyright © 2025 Espressif Systems. All rights reserved.",
3636
"windows": {
3737
"wix": {
38-
"template": "./wix/main.wxs"
38+
"fragmentPaths": ["./wix/fragment.wxs"]
3939
}
4040
},
4141
"macOS": {

src-tauri/wix/fragment.wxs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3+
<Fragment>
4+
<ComponentGroup Id="PathComponent" Directory="APPLICATIONFOLDER">
5+
<Component Id="PathEnvironmentVariable" Guid="A6734AA2-8C86-49D5-8501-2DD147D7C816">
6+
<RegistryValue Root="HKCU" Key="Software\Espressif\eim" Name="PathInstalled" Type="integer" Value="1" KeyPath="yes" />
7+
<Environment
8+
Id="PATH"
9+
Name="Path"
10+
Value="[APPLICATIONFOLDER]"
11+
Permanent="no"
12+
Part="last"
13+
Action="set"
14+
System="no" />
15+
</Component>
16+
</ComponentGroup>
17+
</Fragment>
18+
</Wix>

src-tauri/wix/main.wxs

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)