Skip to content

Commit

Permalink
updated build.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanisham committed Mar 27, 2024
1 parent 40dfe2b commit c2ed28c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import { Tar } from "https://deno.land/std@0.184.0/archive/mod.ts";
import { copy } from "https://deno.land/std@0.184.0/streams/copy.ts";
import * as path from "@std/path";


const GOARCH = [
Expand Down Expand Up @@ -57,12 +56,6 @@ for (const os of GOOS) {
Deno.exit(1);
}

if (os == "windows") {
await Deno.mkdir(zvm_str, {recursive: true});
await Deno.copyFile(path.join(Deno.cwd(), "bin/elevate.cmd"), `${zvm_str}/elevate.cmd`)
await Deno.copyFile(path.join(Deno.cwd(), "bin/elevate.vbs"), `${zvm_str}/elevate.vbs`)
}

console.timeEnd(`Build zvm: ${zvm_str}`);
}
}
Expand Down

0 comments on commit c2ed28c

Please sign in to comment.