-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Microsoft Windows crashes #313
Commits on Jun 16, 2017
-
Fix system tmp dir config on Microsoft Windows
This is not to fix Microsoft Windows support entirely, but just to allow users to install AppSignal without errors on the OS. This does not guarantee AppSignal working in its entirety on Microsoft's OS. This change uses a different method to find the tmp dir for Windows while keeping the original logic for *NIX and macOS. Because the logic is a bit more dynamic now for the system's tmp dir I moved it to a method that's stubbed for most specs, except the ones that test the actual implementation of the method.
Configuration menu - View commit details
-
Copy full SHA for 9f11f9f - Browse repository at this point
Copy the full SHA 9f11f9fView commit details -
Fix diagnose task when extension is not loaded
When the extension is not loaded running the diagnose task will error out when parsing the agent report when requested from the extension. This change checks beforehand if the extension is loaded or not.
Configuration menu - View commit details
-
Copy full SHA for 1532f9b - Browse repository at this point
Copy the full SHA 1532f9bView commit details -
Update installer output for Windows
Print done notice even when we don't detect the framework. Then also send a demo sample. Hopefully the red "Warning" will attract people's attention that even thought the installation has been completed we still can't detect the framework. Printing the done notice also prints the warning when a user is installing AppSignal on Windows.
Configuration menu - View commit details
-
Copy full SHA for 5938085 - Browse repository at this point
Copy the full SHA 5938085View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d65f8f - Browse repository at this point
Copy the full SHA 1d65f8fView commit details -
Fix broken user name calls on Microsoft Windows
Don't save the username on Microsoft Windows, but also don't error the program. The `Etc.getpwuid(uid)` returns `nil` on Windows.
Configuration menu - View commit details
-
Copy full SHA for f7456e7 - Browse repository at this point
Copy the full SHA f7456e7View commit details -
Fix hanging installer & diagnose on Windows
Write output immediately to STDOUT on Microsoft Windows. Without `$stdout.sync = true` the output would be saved until the end of the program and then flushed to STDOUT. When we print the output immediately we don't get the illusion of a hanging installer and diagnose task when we ask for user input. Because the user input prompt hasn't been flushed to STDOUT the user doesn't see what's expected of them to do. This change fixes that.
Configuration menu - View commit details
-
Copy full SHA for eedefdb - Browse repository at this point
Copy the full SHA eedefdbView commit details -
Fix "Press any key" on Microsoft Windows
`getch` throws a `Errno::EBADF: Bad file descriptor` error on Microsoft Windows. I am unable to fix that. Using `getc` creates the same behavior and also works on Microsoft Windows. This fixes the "Press any key" prompts on Microsoft's OS, fixing the installer prompts.
Configuration menu - View commit details
-
Copy full SHA for 8a82c09 - Browse repository at this point
Copy the full SHA 8a82c09View commit details