apps/driver كان يشير إلى `../../Intaleq/packages/get` خارج المستودع — وهو مسار يُحل من apps/driver إلى Tripz/Intaleq/ غير الموجود، فلا يمرّ `flutter pub get` إطلاقاً. (فجوة docs/30 §2.6.) ضُمّت نسخة **انطلق** تحديداً (App/Intaleq/packages) لا فرع apps/rider: الفرعان يختلفان فعلاً — snackbar_controller.dart و get_queue.dart وغيرهما مختلفة بين النسختين، فاستعارة فرع rider كانت ستغيّر سلوك السائق صامتة. apps/driver/packages/get (3.5 م.ب، 202 ملف dart مع get_storage) apps/driver/packages/get_storage pubspec: ../../Intaleq/packages/* → ./packages/* (3 مواضع، منها dependency_overrides سطر 142) المستودع صار مكتفياً ذاتياً: لا تبعية مسار خارج شجرته. لم يُمسّ App/Intaleq. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
20 lines
672 B
C++
20 lines
672 B
C++
#ifndef RUNNER_UTILS_H_
|
|
#define RUNNER_UTILS_H_
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
// Creates a console for the process, and redirects stdout and stderr to
|
|
// it for both the runner and the Flutter library.
|
|
void CreateAndAttachConsole();
|
|
|
|
// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
|
|
// encoded in UTF-8. Returns an empty std::string on failure.
|
|
std::string Utf8FromUtf16(const wchar_t* utf16_string);
|
|
|
|
// Gets the command line arguments passed in as a std::vector<std::string>,
|
|
// encoded in UTF-8. Returns an empty std::vector<std::string> on failure.
|
|
std::vector<std::string> GetCommandLineArguments();
|
|
|
|
#endif // RUNNER_UTILS_H_
|