mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 13:39:58 +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);
|
await asar.createPackage(expectedDeployDir, ASAR_PATH);
|
||||||
|
|
||||||
if (setVersion) {
|
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);
|
console.log("Updating version to " + semVer);
|
||||||
await setPackageVersion(semVer);
|
await setPackageVersion(semVer);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user