electron/shell/common/asar
Will Anderson e7683bdd25
feat: Use DIR_ASSETS path to locate resource bundles (#47439)
* feat: Use DIR_ASSETS path to locate resource bundles

* Use DIR_ASSETS for calculating ASAR relative paths

* Add test to verify 'assets' matches parent dir of 'exe'

* Add Mac-specific test for assets path (but it is failing)

* test: Update app.getPath('assets') to expect an exception on Mac

* docs: Update docs for 'assets' path to indicate that it's only available on Windows + Linux

* fix: Don't define 'assets' mapping on macOS
2025-08-04 12:34:08 +09:00
..
archive.cc chore: bump chromium to 138.0.7156.0 (main) (#46902) 2025-05-02 21:06:50 -04:00
archive.h perf: use absl::flat_hash_map instead of std::unordered_map (#46202) 2025-03-24 10:09:14 +01:00
archive_mac.mm chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
archive_win.cc feat: Use DIR_ASSETS path to locate resource bundles (#47439) 2025-08-04 12:34:08 +09:00
asar_util.cc refactor: migrate hashing code to new upstream crypto::hash API (#46237) 2025-03-25 15:01:17 -05:00
asar_util.h refactor: take a uint8_t span in ValidateIntegrityOrDie() (#43592) 2024-09-06 20:22:44 -05:00
scoped_temporary_file.cc fix: -Wunsafe-buffer-usage warnings in asar file IO (#43624) 2024-09-09 16:34:42 -04:00
scoped_temporary_file.h chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00