chore: code cleanup

This commit is contained in:
Simon Chan 2021-11-09 10:44:25 +08:00
parent c60119ff6c
commit b5bfc52b3c
5 changed files with 3 additions and 6 deletions

View file

@ -22,5 +22,5 @@ const SERVER_VERSION = '1.19';
path.resolve(binFolder, 'scrcpy-server')
);
fs.writeFile(path.resolve(__dirname, '..', 'src', 'version.ts'), `export const BUNDLED_SERVER_VERSION = "${SERVER_VERSION}";`);
fs.writeFile(path.resolve(binFolder, 'version'), SERVER_VERSION);
})();