mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Update build action 2, 3
This commit is contained in:
@@ -7,7 +7,11 @@ const buildDir = path.join(rootDir, 'build');
|
|||||||
|
|
||||||
let version = '';
|
let version = '';
|
||||||
try {
|
try {
|
||||||
version = fs.readFileSync(versionFilePath, 'utf8').trim().replaceAll('.', '');
|
version = fs.readFileSync(versionFilePath, 'utf8').trim();
|
||||||
|
if (!version.includes('T')) {
|
||||||
|
// Remove dots only from Stable version
|
||||||
|
version = version.replaceAll('.', '');
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('Error reading Version file:', err);
|
console.error('Error reading Version file:', err);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user