mirror of
https://github.com/lukin/keywind.git
synced 2025-01-25 08:46:27 +00:00
Update build.ts
Rename output folder
This commit is contained in:
parent
b41ff1d75d
commit
48ad13b98f
1 changed files with 1 additions and 2 deletions
|
@ -3,14 +3,13 @@ import { createWriteStream, existsSync, mkdirSync } from 'fs';
|
|||
|
||||
import { name } from '../package.json';
|
||||
|
||||
const dir = 'out';
|
||||
const dir = 'dist';
|
||||
const file = `${name}.jar`;
|
||||
const path = `${dir}/${file}`;
|
||||
|
||||
!existsSync(dir) && mkdirSync(dir);
|
||||
|
||||
const output = createWriteStream(`${__dirname}/../${path}`);
|
||||
|
||||
const archive = archiver('zip');
|
||||
|
||||
archive.on('error', (error) => {
|
||||
|
|
Loading…
Reference in a new issue