Skip to content

Commit 8a06b85

Browse files
build(Mountain): Simplify binary naming and cleanup configuration
Shorten the binary, lib, and product names from the verbose development profile identifier to just 'Mountain'. Update the Tauri identifier to 'land.editor.binary' for consistency. Remove the externalBin reference to Binary/node since the Node.js sidecar is now handled differently. Add vscode-file and vscode-file://vscode-app to the img-src Content Security Policy for VS Code file protocol support. Delete the temporary backup files (Cargo.toml.Backup, tauri.conf.json.Backup) as the migration is complete.
1 parent f632a4a commit 8a06b85

4 files changed

Lines changed: 11 additions & 352 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.

tauri.conf.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"default-src": "'self' land:",
1616
"font-src": "'self' land: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost",
1717
"frame-src": "'self' vscode-webview: http://localhost:* https://tauri.localhost https://*.vscode-cdn.net",
18-
"img-src": "'self' land: data: blob: vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:",
18+
"img-src": "'self' land: data: blob: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:",
1919
"manifest-src": "'self' http://localhost:* https://tauri.localhost",
2020
"media-src": "'self' http://localhost:* https://tauri.localhost",
2121
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: http://localhost:* https://tauri.localhost vscode-file://vscode-app https://eu-assets.i.posthog.com",
@@ -29,7 +29,7 @@
2929
"default-src": "'self' land:",
3030
"font-src": "'self' land: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost",
3131
"frame-src": "'self' vscode-webview: http://localhost:* https://tauri.localhost https://*.vscode-cdn.net",
32-
"img-src": "'self' land: data: blob: vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:",
32+
"img-src": "'self' land: data: blob: vscode-file: vscode-file://vscode-app vscode-remote-resource: vscode-managed-remote-resource: http://localhost:* https://tauri.localhost https:",
3333
"manifest-src": "'self' http://localhost:* https://tauri.localhost",
3434
"media-src": "'self' http://localhost:* https://tauri.localhost",
3535
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' blob: http://localhost:* https://tauri.localhost vscode-file://vscode-app https://eu-assets.i.posthog.com",
@@ -69,9 +69,7 @@
6969
"category": "DeveloperTool",
7070
"copyright": "PlayForm",
7171
"createUpdaterArtifacts": false,
72-
"externalBin": [
73-
"Binary/node"
74-
],
72+
"externalBin": [],
7573
"fileAssociations": [],
7674
"homepage": "https://Editor.Land",
7775
"iOS": {
@@ -127,9 +125,7 @@
127125
"publisher": "PlayForm",
128126
"resources": null,
129127
"shortDescription": "",
130-
"targets": [
131-
"app"
132-
],
128+
"targets": ["app"],
133129
"windows": {
134130
"allowDowngrades": true,
135131
"certificateThumbprint": null,
@@ -143,7 +139,7 @@
143139
}
144140
}
145141
},
146-
"identifier": "land.editor.binary.development.node.environment.microsoft.vscode.dependency.node.22.bundle.clean.debug.electron.profile.mountain",
147-
"productName": "DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_Mountain",
142+
"identifier": "land.editor.binary",
143+
"productName": "Mountain",
148144
"version": "0.0.1"
149-
}
145+
}

0 commit comments

Comments
 (0)