Skip to content

Commit

Permalink
fix #2454, won't set WASMER_CACHE_DIR for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Jul 16, 2021
1 parent fc40b23 commit c1ad592
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/windows-installer/wasmer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ DisableWelcomePage=no
[Registry]
Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName: "WASMER_DIR"; \
ValueData: "{app}"; Flags: preservestringtype
Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName: "WASMER_CACHE_DIR"; \
ValueData: "{app}\cache"; Flags: preservestringtype

[Files]
Source: "..\..\package\bin\*"; DestDir: "{app}\bin"
Expand All @@ -28,9 +26,6 @@ Source: "..\..\package\LICENSE"; DestDir: "{app}"
Source: "..\..\package\ATTRIBUTIONS"; DestDir: "{app}"
Source: "wax.cmd"; DestDir: "{app}\bin"

[Dirs]
Name: "{app}\cache"

[Code]
const EnvironmentKey = 'SYSTEM\CurrentControlSet\Control\Session Manager\Environment';
Expand Down

0 comments on commit c1ad592

Please sign in to comment.