Skip to content

Instantly share code, notes, and snippets.

@Rpsl
Last active May 31, 2020 10:08
Show Gist options
  • Save Rpsl/f76805367005c6b3f8df6dbf52b5afac to your computer and use it in GitHub Desktop.
Save Rpsl/f76805367005c6b3f8df6dbf52b5afac to your computer and use it in GitHub Desktop.
macOS Grafana application via nativefier
nativefier \
-n "Grafana" \
-p 'osx' \
-f -m \
--title-bar-style "hiddenInset" \
--inject ./style.css \
-i /path/to/icon.png \
--internal-urls "https://play.grafana.org/d/*" \
--single-instance \
"https://play.grafana.org/d/000000012/grafana-play-home?orgId=1" \
/path/to/output/
.sidemenu {
padding-top: 40px;
width: 75px !important;
}
.sidemenu__logo {
padding-left: 20px !important;
}
.navbar {
-webkit-app-region: drag;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment