-
Notifications
You must be signed in to change notification settings - Fork 9
feat: Обновление версии OVM до 1.5.0 и добавление поддержки osx-arm64 #36
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
Conversation
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe changes update the package version and environment requirements, introduce a new runtime dependency, and revise the application version string. The logic for determining the distribution type for installations has been refactored to use a new function that considers both platform and CPU architecture, with explicit support for ARM-based MacOS. The previous static mapping approach has been replaced with conditional logic, and the new function now raises an exception if the platform or architecture cannot be determined. Changes
Sequence Diagram(s)sequenceDiagram
participant Installer as УстановщикOneScript
participant SystemInfo as СистемнаяИнформация
participant CPUInfo as ИнформацияОПроцессоре
Installer->>SystemInfo: ПолучитьТипПлатформы()
Installer->>CPUInfo: ПолучитьАрхитектуру()
alt Windows x86/x86_64
Installer->>Installer: Вернуть "scd-win"
else Linux x86/x86_64
Installer->>Installer: Вернуть "scd-lin"
else MacOS
alt ARM/ARM64
Installer->>Installer: Вернуть "osx-arm64"
else
Installer->>Installer: Вернуть "osx-x64"
end
else Unknown
Installer->>Installer: Исключение "Не удалось определить ОС"
end
Poem
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@sfaqer а почему драфт? |
Зареквестил тестов в чатике от маководов, жду. |
feat: Обновление версии OVM до 1.4.0 и добавление поддержки osx-arm64 - Обновлена версия OVM в packagedef и ПараметрыПриложения.os до 1.4.0. - Обновлена версия платформы 1script до 1.9.2 - Добавлена зависимость от cpuinfo версии 1.1.0. - В УстановщикOneScript.os добавлена поддержка определения типа дистрибутива для MacOS на архитектуре ARM (osx-arm64).
…ю о системе, препроцессор по видимому то-ли в 1.9 то-ли в моно не работает
Summary by CodeRabbit