Skip to content

Commit

Permalink
Fix run non ELF executables with: sharun [EXEC ARGS]
Browse files Browse the repository at this point in the history
Refactoring
Update README
  • Loading branch information
VHSgunzo committed Nov 17, 2024
1 parent 7f9ffb0 commit fa3162c
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 128 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
cross build --release --target aarch64-unknown-linux-musl
mv target/aarch64-unknown-linux-musl/release/sharun sharun-aarch64
# https://github.com/aunali1/super-strip
- name: Strip
run: |
"${{ github.workspace }}/.github/sstrip" sharun-*
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sharun"
version = "0.1.5"
version = "0.1.6"
readme = "README.md"
license = "MIT"
repository = "https://github.com/VHSgunzo/sharun"
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ cp ./target/$(uname -m)-unknown-linux-musl/release/sharun .
```

* You can create a hard link from `sharun` to `AppRun` and write the name of the executable file from the `bin` directory to the `.app` file for compatibility with [AppImage](https://appimage.org) `AppDir`. If the `.app` file does not exist, the `*.desktop` file will be used.

* Additional env var can be specified in the `.env` file (see [dotenv](https://crates.io/crates/dotenv)). Env var can also be deleted using `unset ENV_VAR` in the end of the `.env` file.

* Also you can package the `sharun directory` with your applications into a single executable file using [wrappe](https://github.com/Systemcluster/wrappe)

# Screenshots:
![tree](img/tree.png)

Expand Down
Loading

0 comments on commit fa3162c

Please sign in to comment.