Skip to content

Commit

Permalink
try add wix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Feb 27, 2024
1 parent 8f3cfbf commit 2890635
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src-tauri/add_to_path.wxs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Fragment>
<Component Id="AddToPath" Guid="75db7be5-406d-4b45-a545-455d6467887d">
<Environment Id="AddToPathEnv" Name="PATH" Value="[INSTALLDIR]" Action="set" Part="last" System="yes" />
</Component>
</Fragment>
1 change: 1 addition & 0 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"digestAlgorithm": "sha256",
"timestampUrl": "",
"wix": {
"fragmentPaths": ["./add_to_path.wxs"],
"language": "zh-CN",
"license": "../LICENSE"
}
Expand Down

0 comments on commit 2890635

Please sign in to comment.