mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Support tar.gz url for fetching packages (#422)
* Support tar.gz url for fetching packages * Trim version file
This commit is contained in:
parent
0068a18feb
commit
8762f1907a
2
scripts/fetch-package.js
Executable file → Normal file
2
scripts/fetch-package.js
Executable file → Normal file
@ -221,7 +221,7 @@ async function main() {
|
||||
await asar.createPackage(expectedDeployDir, ASAR_PATH);
|
||||
|
||||
if (setVersion) {
|
||||
const semVer = fs.readFileSync(path.join(expectedDeployDir, "version"), "utf-8");
|
||||
const semVer = fs.readFileSync(path.join(expectedDeployDir, "version"), "utf-8").trim();
|
||||
console.log("Updating version to " + semVer);
|
||||
await setPackageVersion(semVer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user