refactor: move version info into version.ts

This commit is contained in:
Wesley F. Young
2024-08-27 10:30:38 +08:00
parent 17e680f7af
commit 05b7a59f8d
4 changed files with 7 additions and 6 deletions

View File

@@ -2,8 +2,6 @@ import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
import fs from 'fs';
export const napcat_version = '2.2.15';
export class NapCatPathWrapper {
binaryPath: string;
logsPath: string;

1
src/common/version.ts Normal file
View File

@@ -0,0 +1 @@
export const napCatVersion = '2.2.15';