Skip to content

Commit

Permalink
Merge pull request #7 from ashirt-ops/feat/add-codeblock-for-launchin…
Browse files Browse the repository at this point in the history
…g-linux

feat: add codeblock for launching on linux
  • Loading branch information
jkennedyvz authored Feb 27, 2024
2 parents c968b27 + 818a3c2 commit 48eaa05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions assets/scss/list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
#osx-command {
width: 50%;
}

#launch-linux {
width: 80%;
font-size: 80%;
}
}

@media (min-width: 1440px) {
Expand All @@ -17,6 +22,10 @@
#osx-command {
width: 27%;
}

#launch-linux {
width: 50%;
}
}

code > button {
Expand Down
3 changes: 2 additions & 1 deletion content/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ layout: list
**Step 2.** Set the executable bit on the downloaded app image:\
<code id="linux-command">chmod +x{{< fetch-ashirt-version template="ashirt-%s-x86_64.AppImage" >}} <button onClick="copyCode('linux-command')">Copy code</button></code>

**Step 3.** Launch Ashirt application
**Step 3.** Launch Ashirt application:\
<code id="launch-linux">{{< fetch-ashirt-version template="./ashirt-%s-x86_64.AppImage" >}} <button onClick="copyCode('launch-linux')">Copy code</button></code>

0 comments on commit 48eaa05

Please sign in to comment.