Separate beta app identity to prevent overwriting stable installation
- appId: com.sucukdeluxe.realdebrid-beta - productName: Real-Debrid-Downloader Beta - name: real-debrid-downloader-beta - Release script asset names updated for Beta suffix Beta installs to separate directory and uses own userData path, so both stable and beta can run side by side. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
d0885ba552
commit
6fd25a5447
@@ -200,8 +200,8 @@ function updatePackageVersion(rootDir, version) {
|
||||
function patchLatestYml(releaseDir, version) {
|
||||
const ymlPath = path.join(releaseDir, "latest.yml");
|
||||
let content = fs.readFileSync(ymlPath, "utf8");
|
||||
const setupName = `Real-Debrid-Downloader Setup ${version}.exe`;
|
||||
const dashedName = `Real-Debrid-Downloader-Setup-${version}.exe`;
|
||||
const setupName = `Real-Debrid-Downloader Beta Setup ${version}.exe`;
|
||||
const dashedName = `Real-Debrid-Downloader-Beta-Setup-${version}.exe`;
|
||||
if (content.includes(dashedName)) {
|
||||
content = content.split(dashedName).join(setupName);
|
||||
fs.writeFileSync(ymlPath, content, "utf8");
|
||||
@@ -212,10 +212,10 @@ function patchLatestYml(releaseDir, version) {
|
||||
function ensureAssetsExist(rootDir, version) {
|
||||
const releaseDir = path.join(rootDir, "release");
|
||||
const files = [
|
||||
`Real-Debrid-Downloader Setup ${version}.exe`,
|
||||
`Real-Debrid-Downloader ${version}.exe`,
|
||||
`Real-Debrid-Downloader Beta Setup ${version}.exe`,
|
||||
`Real-Debrid-Downloader Beta ${version}.exe`,
|
||||
"latest.yml",
|
||||
`Real-Debrid-Downloader Setup ${version}.exe.blockmap`
|
||||
`Real-Debrid-Downloader Beta Setup ${version}.exe.blockmap`
|
||||
];
|
||||
for (const fileName of files) {
|
||||
const fullPath = path.join(releaseDir, fileName);
|
||||
|
||||
Reference in New Issue
Block a user