You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue with the postinstall lifecycle on the Windows platform. As we know, Windows does not natively support bash, and the existing scripts have different syntax compared to Unix-based systems. This discrepancy makes it challenging to create a single script that can run seamlessly across all platforms.
To address this, I propose that we consider implementing a design that allows different postinstall scripts to be executed based on the underlying platform. This way, we can ensure that the appropriate script is run for each specific environment, enhancing compatibility and reducing potential errors.
Here are some points to consider:
Platform Detection: Implement a mechanism to detect the operating system or kernel type.
Script Differentiation: Allow users to specify different postinstall scripts for different platforms within the Shards configuration.
Execution Logic: Ensure that the correct script is executed based on the detected platform during the postinstall phase.
The text was updated successfully, but these errors were encountered:
I am encountering an issue with the postinstall lifecycle on the Windows platform. As we know, Windows does not natively support bash, and the existing scripts have different syntax compared to Unix-based systems. This discrepancy makes it challenging to create a single script that can run seamlessly across all platforms.
To address this, I propose that we consider implementing a design that allows different postinstall scripts to be executed based on the underlying platform. This way, we can ensure that the appropriate script is run for each specific environment, enhancing compatibility and reducing potential errors.
Here are some points to consider:
The text was updated successfully, but these errors were encountered: