fix: remove Nightly suffix from SABLE_PRODUCT_NAME

Signed-off-by: hazre <[email protected]>
This commit is contained in:
hazre committed 2026-07-28 17:54:26 +02:00
1 parent 958e7c1a45
commit de32aafe96
2 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -32,10 +32,10 @@ fn main() {
) {
format!("{} Nightly", base)
} else {
base
base.clone()
};
println!("cargo:rustc-env=SABLE_PRODUCT_NAME={}", full_name);
println!("cargo:rustc-env=SABLE_PRODUCT_NAME={}", base);
println!(
"cargo:rustc-env=TAURI_CONFIG={{\"productName\":\"{}\"}}",
full_name
+1 -2
View File
@@ -138,7 +138,6 @@ function serverMatrixSdkCryptoWasm() {
export default defineConfig(({ command }) => {
const buildFlavor = process.env.SABLE_BUILD_FLAVOR || (command === 'serve' ? 'dev' : 'stable');
const productName = buildFlavor !== 'stable' ? `${baseProductName} Nightly` : baseProductName;
return {
clearScreen: false,
@@ -150,7 +149,7 @@ export default defineConfig(({ command }) => {
APP_VERSION: JSON.stringify(appVersion),
BUILD_HASH: JSON.stringify(buildHash ?? ''),
IS_RELEASE_TAG: JSON.stringify(isReleaseTag),
SABLE_PRODUCT_NAME: JSON.stringify(productName),
SABLE_PRODUCT_NAME: JSON.stringify(baseProductName),
SABLE_BUILD_FLAVOR: JSON.stringify(buildFlavor),
},
resolve: {