Conversation
See shorebird/dev-3.24.5 for prior commit history.
* fix: update how we generate analyze_snapshot * formatting
# Conflicts: # DEPS
bryanoltman
commented
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
reviewed
Jan 3, 2025
eseidel
approved these changes
Jan 3, 2025
|
You can just call .get() to get the pointer out of unique_ptr.
https://en.cppreference.com/w/cpp/memory/unique_ptr
…On Fri, Jan 3, 2025 at 2:03 PM Bryan Oltman ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In shell/platform/windows/flutter_windows_engine.cc
<#94 (comment)>:
> + std::vector<char> version_data(version_info_size);
+ if (!GetFileVersionInfoA(module_path, handle, version_info_size,
+ version_data.data())) {
+ return -1;
This is used for a function that expects an LPVOID (void *) later on, and
it doesn't look like unique_ptr plays nicely with that
—
Reply to this email directly, view it on GitHub
<#94 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADU2TPUCMXZ4HVXS3LE7BT2I4CKBAVCNFSM6AAAAABTZL5SSOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMRZG43TGOJRHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
felangel
added a commit
that referenced
this pull request
Jan 14, 2025
* chore: squash all our changes to a single commit See shorebird/dev-3.24.5 for prior commit history. * fix: remove flutter/fml/size include * fix: use shorebird buildroot * fix: generate analyze snapshot for arm builds * formatting * fix: update how we generate analyze_snapshot (#92) * fix: update how we generate analyze_snapshot * formatting * build windows * Windows Support * Format * Make patching work * Formatting * Formatting * Formatting * Improve windows * Formatting * Formatting * Formatting * Revert unneeded changes * Revert changes * Bump updater rev * Remove prints * Cleanup * fix deps * Use correct local appdata path * Formatting * consolidate fetching build number and release version * format * remove unnecessary pointer * Introduce ReleaseVersion struct * formatting * Formatting * More formatting * Comments * Formatting * More comments * Formatting * Remove print statements * Remove comments * Use in-out param for ConfigureShorebird * formatting * fix deps * Remove extra include of updater.lib * Cleanup * cleanup * Formatting * Use ERROR_SUCCESS * Do not use Error Success * Add comment * GetLocalAppDataPath feedback * Refactor --------- Co-authored-by: Felix Angelov <felix@shorebird.dev>
bryanoltman
added a commit
that referenced
this pull request
Feb 6, 2025
* chore: squash all our changes to a single commit See shorebird/dev-3.24.5 for prior commit history. * fix: remove flutter/fml/size include * fix: use shorebird buildroot * fix: generate analyze snapshot for arm builds * formatting * fix: update how we generate analyze_snapshot (#92) * fix: update how we generate analyze_snapshot * formatting * build windows * Windows Support * Format * Make patching work * Formatting * Formatting * Formatting * Improve windows * Formatting * Formatting * Formatting * Revert unneeded changes * Revert changes * Bump updater rev * Remove prints * Cleanup * fix deps * Use correct local appdata path * Formatting * consolidate fetching build number and release version * format * remove unnecessary pointer * Introduce ReleaseVersion struct * formatting * Formatting * More formatting * Comments * Formatting * More comments * Formatting * Remove print statements * Remove comments * Use in-out param for ConfigureShorebird * formatting * fix deps * Remove extra include of updater.lib * Cleanup * cleanup * Formatting * Use ERROR_SUCCESS * Do not use Error Success * Add comment * GetLocalAppDataPath feedback * Refactor --------- Co-authored-by: Felix Angelov <felix@shorebird.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ready for review, with the caveat that there will be cleanup done as a followup PR to consolidate how/when ConfigureShorebird is called, with the eventual goal being a single ConfigureShorebird function.
Notes doc: https://docs.google.com/document/d/18t791EDSN03FbuZM9uE50CE36ZppF5i8PDaO7l6Bcms/edit?tab=t.0
Rust Setup
In
engine/src/third_party/updater, run:Flutter Build
These commands were adapted from
ci\builders\windows_host_engine.jsonOther notes
The ninja build sometimes gets stuck in the following loop and I don't know why: