forked from zed-industries/zed
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zed.desktop.in: Don't hardcode executable name due to binary conflicts (
zed-industries#12951) > * There are a couple of other `zed` binaries that may be present on linux systems ([1](https://openzfs.github.io/openzfs-docs/man/v2.2/8/zed.8.html), [2](https://zed.brimdata.io/docs/commands/zed)). If you want to rename our CLI binary because of these issues, we suggest `zedit`, `zeditor`, or `zed-cli`. Due to aformentioned issue don't hardcode the executable name in the .desktop file so envsubst can change it in accordance with the distributor's requirement. Resolves zed-industries#12290. Release Notes: - N/A
- Loading branch information
1 parent
de83594
commit 6872198
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,7 @@ cp "crates/zed/resources/[email protected]" "${zed_dir}/share/icons/hicolor | |
|
||
# .desktop | ||
export DO_STARTUP_NOTIFY="true" | ||
export APP_CLI="zed" | ||
export APP_ICON="zed" | ||
if [[ "$channel" == "preview" ]]; then | ||
export APP_NAME="Zed Preview" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters