Skip to content

Commit c0f7058

Browse files
committed
package sqlite as zip and extract at build time: fixed win build
1 parent 68a3e2c commit c0f7058

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deps/extract.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ function extractZip(zipPath, destDir) {
8080
}
8181

8282
function main() {
83-
const archivePath = process.argv[2];
84-
const destDir = process.argv[3];
83+
const archivePath = path.resolve(process.argv[2]);
84+
const destDir = path.resolve(process.argv[3]);
8585

8686
if (!archivePath || !destDir) {
8787
console.error('Usage: extract.js <archive_path> <dest_dir>');

0 commit comments

Comments
 (0)