윈도우 앱 업데이트 문제 수정
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user