Skip to content

Commit 5140a38

Browse files
refactor(Mountain): Simplify binary names and remove PostHog API keys
Revert binary and library names from the verbose development profile format back to 'Mountain' in Cargo.toml and tauri.conf.json, continuing the simplification from recent commits. Also remove the PostHog API key from build.rs and scripts/cocoon/bootstrap-fork.js by replacing with empty strings for development safety. Clean up tauri.conf.json identifier from the long verbose format to 'land.editor.binary' and productName to 'Mountain'. Delete obsolete Cargo.toml.Backup and tauri.conf.json.Backup files. Remove duplicate externalBin entry for Binary/node in tauri.conf.json. These changes consolidate the naming simplification and remove sensitive API keys from the repository.
1 parent 8cba79c commit 5140a38

6 files changed

Lines changed: 9 additions & 351 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[bin]]
2-
name = "DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_Mountain"
2+
name = "Mountain"
33
path = "Source/Library.rs"
44

55
[build-dependencies]
@@ -148,7 +148,7 @@ TierOpenExternalLayer4 = []
148148
TierExtensionScanParallel = []
149149

150150
[lib]
151-
name = "DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_Mountain"
151+
name = "Mountain"
152152
path = "Source/Library.rs"
153153
crate-type = ["lib", "staticlib"]
154154

@@ -158,11 +158,11 @@ autobenches = false
158158
autobins = false
159159
autoexamples = false
160160
autotests = false
161-
default-run = "DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_Mountain"
161+
default-run = "Mountain"
162162
description = "Mountain ⛰️"
163163
edition = "2021"
164164
license-file = "LICENSE"
165-
name = "DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_Mountain"
165+
name = "Mountain"
166166
publish = false
167167
include = [
168168
"build.rs",

Cargo.toml.Backup

Lines changed: 0 additions & 192 deletions
This file was deleted.

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ fn PropagatePostHogSentinel() {
155155
println!("cargo:rerun-if-env-changed={Key}");
156156
}
157157

158-
let Key = std::env::var("LAND_POSTHOG_KEY").unwrap_or_else(|_| "phc_mCwHy7LgvbnEqh6a2DyMiLUJcaZvmmj7JNmmpQzvr7mA".into());
158+
let Key = std::env::var("LAND_POSTHOG_KEY").unwrap_or_else(|_| "".into());
159159

160160
let Host = std::env::var("LAND_POSTHOG_HOST").unwrap_or_else(|_| "https://eu.i.posthog.com".into());
161161

scripts/cocoon/bootstrap-fork.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Trace("bootstrap", "start");
3535
// PostHog - debug only, fire-and-forget via HTTP POST
3636
// ============================================================================
3737

38-
const PostHogAPIKey = "phc_mCwHy7LgvbnEqh6a2DyMiLUJcaZvmmj7JNmmpQzvr7mA";
38+
const PostHogAPIKey = "";
3939
const PostHogHost = "https://eu.i.posthog.com";
4040
const DistinctId = `land-dev-${process.env.USER || process.env.USERNAME || "unknown"}`;
4141

tauri.conf.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
"copyright": "PlayForm",
7171
"createUpdaterArtifacts": false,
7272
"externalBin": [
73-
"Binary/node",
7473
"Binary/node"
7574
],
7675
"fileAssociations": [],
@@ -144,7 +143,7 @@
144143
}
145144
}
146145
},
147-
"identifier": "land.editor.binary.development.node.environment.microsoft.vscode.dependency.node.22.bundle.clean.debug.electron.profile.mountain",
148-
"productName": "DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_Mountain",
146+
"identifier": "land.editor.binary",
147+
"productName": "Mountain",
149148
"version": "0.0.1"
150-
}
149+
}

0 commit comments

Comments
 (0)