This commit is contained in:
Brian Zalewski 2024-04-02 03:14:42 +00:00
parent bdaf704a7d
commit f07bbaa8bc
3 changed files with 4 additions and 5 deletions

View file

@ -153,7 +153,6 @@ applyRootConfig() {
### Copy Autorestic configurations ### Copy Autorestic configurations
logg info "Copying ${XDG_CONFIG_HOME:-$HOME/.config}/autorestic/autorestic-system.yml file to $ROOT_FOLDER/.autorestic.yml" && sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/autorestic/autorestic-system.yml" "$ROOT_FOLDER/.autorestic.yml" logg info "Copying ${XDG_CONFIG_HOME:-$HOME/.config}/autorestic/autorestic-system.yml file to $ROOT_FOLDER/.autorestic.yml" && sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/autorestic/autorestic-system.yml" "$ROOT_FOLDER/.autorestic.yml"
logg info "Removing ${XDG_CONFIG_HOME:-$HOME/.config}/autorestic/autorestic-system.yml" && sudo rm -f "${XDG_CONFIG_HOME:-$HOME/.config}/autorestic/autorestic-system.yml"
logg info "Applying proper permissions to $ROOT_FOLDER/.autorestic.yml" && sudo chmod 600 "$ROOT_FOLDER/.autorestic.yml" logg info "Applying proper permissions to $ROOT_FOLDER/.autorestic.yml" && sudo chmod 600 "$ROOT_FOLDER/.autorestic.yml"
fi fi
} }

View file

@ -26,12 +26,12 @@
"displaySwitchWinLinContainers": false, "displaySwitchWinLinContainers": false,
"displayed18362Deprecation": false, "displayed18362Deprecation": false,
"displayedElectronPopup": [], "displayedElectronPopup": [],
"displayedOnboarding": false, "displayedOnboarding": true,
"dockerAppLaunchPath": "/Applications/Docker.app", "dockerAppLaunchPath": "/Applications/Docker.app",
"dockerBinInstallPath": "system", "dockerBinInstallPath": "system",
"enableDefaultDockerSocket": true, "enableDefaultDockerSocket": true,
"enableIntegrationWithDefaultWslDistro": false, "enableIntegrationWithDefaultWslDistro": false,
"enableIntegrityCheck": false, "enableIntegrityCheck": true,
"enableSegmentDebug": false, "enableSegmentDebug": false,
"enableWasmShims": true, "enableWasmShims": true,
"enhancedContainerIsolation": false, "enhancedContainerIsolation": false,
@ -72,7 +72,7 @@
"showAnnouncementNotifications": false, "showAnnouncementNotifications": false,
"showExtensionsSystemContainers": false, "showExtensionsSystemContainers": false,
"showGeneralNotifications": false, "showGeneralNotifications": false,
"showInstallScreen": true, "showInstallScreen": false,
"showKubernetesSystemContainers": false, "showKubernetesSystemContainers": false,
"showSurveyNotifications": false, "showSurveyNotifications": false,
"skipUpdateToWSLPrompt": false, "skipUpdateToWSLPrompt": false,

View file

@ -496,7 +496,7 @@ async function main() {
log(`Running post-install script for ${x.listKey}`) log(`Running post-install script for ${x.listKey}`)
return (postField && runScript(x.listKey, x[postField])) || Promise.resolve() return (postField && runScript(x.listKey, x[postField])) || Promise.resolve()
}) })
await Promise.all(postScripts) await Promise.allSettled(postScripts)
} }
main() main()