윈도우 앱 업데이트 문제 수정

This commit is contained in:
Macbook
2026-06-17 10:12:21 +09:00
parent 37533764ee
commit f56a958c57
3 changed files with 17 additions and 2 deletions
+4 -1
View File
@@ -20,7 +20,10 @@ function arg(name, fallback) {
const version = arg('--version', '0.1.0');
const dir = path.resolve(arg('--dir', 'dist-desktop/updates'));
const rawBaseUrl = arg('--base-url', 'https://stock.exdev.co.kr/desktop/updates');
const baseUrl = rawBaseUrl.replace(/\/$/, '').replace(/^http:\/\//i, 'https://');
const baseUrl = rawBaseUrl
.replace(/\/$/, '')
.replace(/^http:\/\//i, 'https://')
.replace(/^https:\/\/exdev\.co\.kr/i, 'https://stock.exdev.co.kr');
const notes = arg('--notes', `GoldenChart Desktop ${version}`);
if (!fs.existsSync(dir)) {