Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions MacOS/Components/Core/post_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ echo "Refreshing shell environment for diagnostics..."
source ~/.zshrc 2>/dev/null || source ~/.bash_profile 2>/dev/null || source ~/.bashrc 2>/dev/null || true

# Run diagnostics and capture exit code
if /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/${REMOTE_PS}/${BRANCH_PS}/MacOS/Components/Diagnostics/simple_report.sh)"; then
exit_code=0
else
exit_code=$?
fi
# Temporarily disabled HTML report generation
#if /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/${REMOTE_PS}/${BRANCH_PS}/MacOS/Components/Diagnostics/simple_report.sh)"; then
# exit_code=0
#else
# exit_code=$?
#fi
exit_code=0

# Log script completion to Piwik if available
#[ "$PIWIK_LOADED" = true ] && piwik_log 99 # Script Finished
Expand Down
2 changes: 1 addition & 1 deletion MacOS/releases/dtu-python-installer-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,6 @@ echo "DTU Python Support Installation Complete!"
echo "========================================"
echo "Installation log: $INSTALL_LOG"
echo "Next steps:"
echo "• See the Installation HTML report for details"
# echo "• See the Installation HTML report for details" # Temporarily disabled
echo "Need help? Visit: https://pythonsupport.dtu.dk"
} 2>&1 | log_and_display
18 changes: 9 additions & 9 deletions Windows/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,12 @@ if ($successfulComponents -eq $totalComponents) {
}
Write-Host "Log file: $env:INSTALL_LOG" -ForegroundColor Gray

# Generate installation report silently as the very last step
Write-LogInfo "Generating installation report..."
try {
PowerShell -ExecutionPolicy Bypass -Command "& {Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main/Windows/Components/Diagnostics/generate_report.ps1' -UseBasicParsing).Content}"
Write-LogSuccess "Installation report generated successfully"
} catch {
Write-LogWarning "Could not generate installation report: $($_.Exception.Message)"
Write-Host "NOTE: Installation may still have been successful. Please verify manually." -ForegroundColor Yellow
}
# Temporarily disabled HTML report generation
#Write-LogInfo "Generating installation report..."
#try {
# PowerShell -ExecutionPolicy Bypass -Command "& {Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main/Windows/Components/Diagnostics/generate_report.ps1' -UseBasicParsing).Content}"
# Write-LogSuccess "Installation report generated successfully"
#} catch {
# Write-LogWarning "Could not generate installation report: $($_.Exception.Message)"
# Write-Host "NOTE: Installation may still have been successful. Please verify manually." -ForegroundColor Yellow
#}