mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-01 14:22:31 -08:00
fix: remove Nightly suffix from SABLE_PRODUCT_NAME
Signed-off-by: hazre <[email protected]>
This commit is contained in:
2 files changed
+3
-4
No files matched your search
+2
-2
@@ -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
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user