mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
servoshell: Rename executable to servoshell. (#42958)
This should help clarify the difference between servo the library / engine and servoshell the browser (demo). Other changes: - Removed etc/servo.sb ( [apple sandbox profile format](https://angelica.gitbook.io/hacktricks/macos-hardening/macos-security-and-privilege-escalation/macos-security-protections/macos-sandbox#sandbox-profiles)) since it is not needed anymore. See [this comment](https://github.com/servo/servo/pull/42958#discussion_r2876253489) for more details. Testing: This is a very invasive change, and there are bound to be scripts / places I have overlooked. Searching for usages of `servo` is very hard, since it's also the name of the library. Try run: https://github.com/servo/servo/actions/runs/22637676818 --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
committed by
GitHub
parent
229d89042f
commit
1632e61ed6
@@ -14,7 +14,7 @@ path = "lib.rs"
|
||||
bench = false
|
||||
|
||||
[[bin]]
|
||||
name = "servo"
|
||||
name = "servoshell"
|
||||
path = "main.rs"
|
||||
bench = false
|
||||
|
||||
@@ -33,10 +33,10 @@ cc = "1.2"
|
||||
winresource = "0.1"
|
||||
|
||||
[package.metadata.winresource]
|
||||
FileDescription = "Servo"
|
||||
FileDescription = "ServoShell"
|
||||
LegalCopyright = "© The Servo Project Developers"
|
||||
OriginalFilename = "servo.exe"
|
||||
ProductName = "Servo"
|
||||
OriginalFilename = "servoshell.exe"
|
||||
ProductName = "ServoShell"
|
||||
|
||||
[features]
|
||||
default = ["gamepad", "libservo/clipboard", "js_jit", "max_log_level", "webgpu", "webxr"]
|
||||
|
||||
@@ -52,7 +52,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
{
|
||||
let mut res = winresource::WindowsResource::new();
|
||||
res.set_icon("../../resources/servo.ico");
|
||||
res.set_manifest_file("platform/windows/servo.exe.manifest");
|
||||
res.set_manifest_file("platform/windows/servoshell.exe.manifest");
|
||||
res.compile().unwrap();
|
||||
}
|
||||
#[cfg(not(windows))]
|
||||
|
||||
@@ -3,17 +3,17 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>servo</string>
|
||||
<string>servoshell</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>Servo</string>
|
||||
<string>ServoShell</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>servo.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.servo.Servo</string>
|
||||
<string>org.servo.ServoShell</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Servo</string>
|
||||
<string>ServoShell</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
||||
@@ -37,7 +37,7 @@ pub fn deinit(clean_shutdown: bool) {
|
||||
|
||||
#[unsafe(link_section = "__TEXT,__info_plist")]
|
||||
#[unsafe(no_mangle)]
|
||||
pub static INFO_PLIST: [u8; 904] = *include_bytes!("Info.plist");
|
||||
pub static INFO_PLIST: [u8; 924] = *include_bytes!("Info.plist");
|
||||
|
||||
#[link(name = "count_threads")]
|
||||
unsafe extern "C" {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
manifestVersion="1.0"
|
||||
xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
|
||||
<assemblyIdentity type="win32"
|
||||
name="servo.Servo"
|
||||
name="servo.ServoShell"
|
||||
version="0.0.6.0"/>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
@@ -366,7 +366,7 @@ fn map_debug_options(arg: String) -> Vec<String> {
|
||||
}
|
||||
|
||||
#[derive(Bpaf, Clone, Debug)]
|
||||
#[bpaf(options, version(VERSION), usage("servo [OPTIONS] URL"))]
|
||||
#[bpaf(options, version(VERSION), usage("servoshell [OPTIONS] URL"))]
|
||||
// Newlines in comments are intentional to have the right formatting for the help message.
|
||||
struct CmdArgs {
|
||||
/// Background Hang Monitor enabled.
|
||||
|
||||
Reference in New Issue
Block a user