Skip to content

Commit bba3752

Browse files
authored
installer: update script host versions
1 parent 19bef5a commit bba3752

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

themes/hugo-html5up-alpha/layouts/partials/installer.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,10 @@ <h2>Restart</h2>
158158
};
159159

160160
const paths = {
161-
'stable': '%localappdata%\\Discord\\app-1.0.9182\\resources',
161+
'stable': '%localappdata%\\Discord\\app-1.0.9186\\resources',
162162
'stable_old': '%localappdata%\\Discord\\app-1.0.9059\\resources',
163-
'ptb': '%localappdata%\\DiscordPTB\\app-1.0.1091\\resources',
164-
'canary': '%localappdata%\\DiscordCanary\\app-1.0.534\\resources',
165-
'canary_x64': '%localappdata%\\DiscordCanary\\app-1.0.523\\resources'
163+
'ptb': '%localappdata%\\DiscordPTB\\app-1.0.1135\\resources',
164+
'canary': '%localappdata%\\DiscordCanary\\app-1.0.570\\resources'
166165
};
167166

168167
const downloadBatch = () => {
@@ -199,8 +198,6 @@ <h2>Restart</h2>
199198
`powershell -Command "Invoke-WebRequest https://github.com/GooseMod/OpenAsar/releases/download/nightly/app.asar -OutFile \\"${path.replace('%localappdata%', '$Env:LOCALAPPDATA')}\\app.asar\\"" > nul 2> nul`
200199
}
201200
202-
${channel === 'canary' ? `if exist "${paths.canary_x64}\\app.asar" powershell -Command "Invoke-WebRequest https://github.com/GooseMod/OpenAsar/releases/download/nightly/app.asar -OutFile \\"${paths.canary_x64.replace('%localappdata%', '$Env:LOCALAPPDATA')}\\app.asar\\"" > nul 2> nul` : ''}
203-
204201
${channel === 'stable' ? `if exist "${paths.stable_old}\\app.asar" powershell -Command "Invoke-WebRequest https://github.com/GooseMod/OpenAsar/releases/download/nightly/app.asar -OutFile \\"${paths.stable_old.replace('%localappdata%', '$Env:LOCALAPPDATA')}\\app.asar\\"" > nul 2> nul` : ''}
205202
${channel === 'stable' ? `if exist "${degradePath(paths.stable_old)}\\app.asar" powershell -Command "Invoke-WebRequest https://github.com/GooseMod/OpenAsar/releases/download/nightly/app.asar -OutFile \\"${degradePath(paths.stable_old).replace('%localappdata%', '$Env:LOCALAPPDATA')}\\app.asar\\"" > nul 2> nul` : ''}
206203
${channel === 'stable' ? `if exist "${degradePath(degradePath(paths.stable_old))}\\app.asar" powershell -Command "Invoke-WebRequest https://github.com/GooseMod/OpenAsar/releases/download/nightly/app.asar -OutFile \\"${degradePath(degradePath(paths.stable_old)).replace('%localappdata%', '$Env:LOCALAPPDATA')}\\app.asar\\"" > nul 2> nul` : ''}

0 commit comments

Comments
 (0)