mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Fix setversion script's yarn call on windows
This commit is contained in:
parent
d8c8e1b133
commit
dd6f52e2de
@ -22,7 +22,7 @@ async function main() {
|
|||||||
// set version in package.json: electron-builder will use this to populate
|
// set version in package.json: electron-builder will use this to populate
|
||||||
// all the various version fields
|
// all the various version fields
|
||||||
await new Promise((resolve, reject) => {
|
await new Promise((resolve, reject) => {
|
||||||
childProcess.execFile('yarn', [
|
childProcess.execFile(process.platform === 'win32' ? 'yarn.cmd' : 'yarn', [
|
||||||
'version',
|
'version',
|
||||||
'-s',
|
'-s',
|
||||||
'--no-git-tag-version', // This also means "don't commit to git" as it turns out
|
'--no-git-tag-version', // This also means "don't commit to git" as it turns out
|
||||||
|
Loading…
Reference in New Issue
Block a user