lemmafit 0.3.2 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/download-dafny.js +3 -3
- package/package.json +1 -1
package/lib/download-dafny.js
CHANGED
|
@@ -17,8 +17,8 @@ const PLATFORM_ASSETS = {
|
|
|
17
17
|
'darwin-x64': `dafny-${DAFNY_VERSION}-x64-macos-13.zip`,
|
|
18
18
|
'linux-x64': `dafny-${DAFNY_VERSION}-x64-ubuntu-22.04.zip`,
|
|
19
19
|
'linux-arm64': `dafny-${DAFNY_VERSION}-arm64-ubuntu-22.04.zip`,
|
|
20
|
-
'win32-x64': `dafny-${DAFNY_VERSION}-x64-windows-
|
|
21
|
-
'win32-arm64': `dafny-${DAFNY_VERSION}-x64-windows-
|
|
20
|
+
'win32-x64': `dafny-${DAFNY_VERSION}-x64-windows-2022.zip`,
|
|
21
|
+
'win32-arm64': `dafny-${DAFNY_VERSION}-x64-windows-2022.zip`,
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
function getPlatformKey() {
|
|
@@ -112,7 +112,7 @@ async function main() {
|
|
|
112
112
|
// Extract
|
|
113
113
|
console.log('Extracting...');
|
|
114
114
|
if (os.platform() === 'win32') {
|
|
115
|
-
execSync(`
|
|
115
|
+
execSync(`powershell -command "Expand-Archive -Path '${zipPath}' -DestinationPath '${installDir}' -Force"`, { stdio: 'inherit' });
|
|
116
116
|
} else {
|
|
117
117
|
execSync(`unzip -q -o "${zipPath}" -d "${installDir}"`, { stdio: 'inherit' });
|
|
118
118
|
}
|