mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-01 06:12:31 -08:00
fix(ci): update builds to display nightly
This commit is contained in:
1 parent
19c6ea300d
commit
f72eb6cfea
5 files changed
+23
-6
No files matched your search
@@ -24,6 +24,9 @@ if (updaterEndpoint && !updaterEndpoint.startsWith('https://')) {
|
||||
const file = 'src-tauri/tauri.conf.json';
|
||||
const config = JSON.parse(readFileSync(file, 'utf8'));
|
||||
config.version = version;
|
||||
if (version.includes('nightly')) {
|
||||
config.productName = 'Sable Nightly';
|
||||
}
|
||||
if (updaterEndpoint) {
|
||||
config.plugins.updater.endpoints = [updaterEndpoint];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user