mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
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>
34 lines
1.2 KiB
Desktop File
34 lines
1.2 KiB
Desktop File
# You can use this file to get a menu entry on Linux and so you can pin Servo to your taskbar.
|
|
#
|
|
# Steps:
|
|
# 1. Create the applications folder if it doesn't exist:
|
|
# mkdir -p ~/.local/share/applications/
|
|
# 2. Copy this file:
|
|
# cp org.servo.Servo.desktop ~/.local/share/applications
|
|
# 3. Edit the copied file and replace the two SERVO_SRC_PATH occurrences
|
|
# with the path to the Servo sources.
|
|
# 4. Create the icons folder if it doesn't exist:
|
|
# mkdir -p ~/.local/share/icons/hicolor/scalable/apps
|
|
# 5. Create a link for the icon:
|
|
# ln -s servo.svg ~/.local/share/icons/hicolor/scalable/apps/servo.svg
|
|
[Desktop Entry]
|
|
Version=1.0
|
|
Name=Servo
|
|
GenericName=Web Browser
|
|
Comment=Browse the Web
|
|
# TODO: Replace SERVO_SRC_PATH with the path to the Servo sources
|
|
Exec=SERVO_SRC_PATH/target/release/servoshell %u
|
|
Icon=servo
|
|
Terminal=false
|
|
Type=Application
|
|
MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
|
StartupNotify=true
|
|
Categories=Network;WebBrowser;
|
|
Keywords=web;browser;internet;
|
|
Actions=new-window;
|
|
|
|
# Todo: Tell existing servoshell process to open a new window
|
|
[Desktop Action new-window]
|
|
Name=Open a New Window
|
|
Exec=SERVO_SRC_PATH/target/release/servoshell %u
|