Skip to content

Commit

Permalink
mount fonts from host
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Apr 18, 2024
1 parent 778fb11 commit 57ad629
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion proot-apps
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,12 @@ if [ "${TYPE}" == "run" ]; then
elif [ -d "/var/run/pulse" ]; then
PULSE_BIND="-b /var/run/pulse:/var/run/pulse"
fi
# Fonts
if [ -d "/usr/share/fonts" ] && [ -d "/usr/share/fontconfig" ] && [ -d "/etc/fonts" ]; then
FONTS_BIND="-b /usr/share/fonts:/usr/share/fonts -b /usr/share/fontconfig:/usr/share/fontconfig -b /etc/fonts:/etc/fonts"
fi
$HOME/.local/bin/proot \
${PULSE_BIND} -n \
${PULSE_BIND} ${FONTS_BIND} -n \
-R $HOME/proot-apps/${IMAGE_FOLDER}/ \
/entrypoint "${@:3}" &
start_system_socket "$HOME/proot-apps/${IMAGE_FOLDER}/" $!
Expand Down
7 changes: 7 additions & 0 deletions release-notes/0.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
What's new in this Version:

* Initial functional logic for PRoot Apps
* Initial documentation for users and developers
* Initial dynamic forkable build logic including package tracking and daily updates
* amd64 and arm64 support
* Base application set
6 changes: 1 addition & 5 deletions release-notes/current
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
What's new in this Version:

* Initial functional logic for PRoot Apps
* Initial documentation for users and developers
* Initial dynamic forkable build logic including package tracking and daily updates
* amd64 and arm64 support
* Base application set
* If fonts are available on host mount them into guest

0 comments on commit 57ad629

Please sign in to comment.