mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 09:01:17 -08:00
unify naming and clean up press detection and fix selection
This commit is contained in:
1 parent
7e8c79ddcd
commit
9869bf3339
8 files changed
+170
-40
No files matched your search
@@ -24,9 +24,6 @@ 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