mirror of
https://github.com/winapps-org/winapps.git
synced 2026-11-29 10:55:45 -05:00
setup.sh: don't preserve permissions for application assets (#800)
fixes #768 Signed-off-by: Aurelia <git@acuteaura.net>
This commit is contained in:
@@ -1342,7 +1342,8 @@ function waConfigureOfficiallySupported() {
|
||||
echo -n "Creating an application entry for ${APP_NAME}... "
|
||||
|
||||
# Copy the original, unmodified application assets.
|
||||
$SUDO cp -r "./apps/${APP_NAME}" "${APPDATA_PATH}/apps"
|
||||
# --no-preserve=mode is needed to avoid missing write permissions when copying from Nix store.
|
||||
$SUDO cp -r --no-preserve=mode "./apps/${APP_NAME}" "${APPDATA_PATH}/apps"
|
||||
|
||||
local DESTINATION_INFO_FILE="${APPDATA_PATH}/apps/${APP_NAME}/info"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user