Загрузка данных
PS C:\Projects\shots> Get-Content windows\flutter\ephemeral\.plugin_symlinks\window_manager\windows\window_manager.cpp -TotalCount 12
#define NOMINMAX
#include <shellapi.h>
#include "include/window_manager/window_manager_plugin.h"
// This must be included before many other Windows headers.
#pragma once
#include <Windows.h>
#include <shobjidl_core.h>
#include <flutter/method_channel.h>
PS C:\Projects\shots> (Get-Item windows\flutter\ephemeral\.plugin_symlinks\window_manager).Target
C:\Users\Марина\AppData\Local\Pub\Cache\hosted\pub.dev\window_manager-0.5.2\
PS C:\Projects\shots> Select-String -Path pubspec.lock -Pattern "window_manager:" -Context 0,5
> pubspec.lock:675: window_manager:
pubspec.lock:676: dependency: "direct main"
pubspec.lock:677: description:
pubspec.lock:678: name: window_manager
pubspec.lock:679: sha256: "05c231fd7b23d2380f14c5cc10b7b93d60d4fa4a2fb4e0f032de27e44b5560e9"
pubspec.lock:680: url: "https://pub.dev"
PS C:\Projects\shots> $env:PUB_HOSTED_URL; $env:FLUTTER_STORAGE_BASE_URL
PS C:\Projects\shots> flutter pub cache repair
Reinstalled 80 packages.
PS C:\Projects\shots> flutter clean
Deleting build... 170ms
Deleting .dart_tool... 11ms
Deleting ephemeral... 2ms
Deleting Generated.xcconfig... 1ms
Deleting flutter_export_environment.sh... 1ms
Deleting ephemeral... 5ms
Deleting ephemeral... 6ms
Deleting ephemeral... 51ms
Deleting .flutter-plugins-dependencies... 1ms
PS C:\Projects\shots> pwsh -File scripts\windows_release.ps1
Resolving dependencies...
Downloading packages...
cnativeapi 0.3.0 (0.4.0 available)
material_color_utilities 0.13.0 (0.13.1 available)
nativeapi 0.3.0 (0.4.0 available)
shell_executor 0.1.6 (0.3.0 available)
test_api 0.7.12 (0.7.14 available)
win32 5.15.0 (6.4.0 available)
xml 7.0.1 (7.1.0 available)
Got dependencies!
7 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\menu_c.cpp(563,30): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\preferences_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\secure_storage_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\string_utils_c.cpp(11,10): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\nativeapi\nativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\menu_c.cpp(563,30): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\preferences_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\secure_storage_c.cpp(124,25): warning C4267: return: преобразование из "size_t" в "unsigned long"; возможна потеря данных [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\flutter\ephemeral\.plugin_symlinks\cnativeapi\cxx_impl\src\capi\string_utils_c.cpp(11,10): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [C:\Projects\shots\build\windows\x64\plugins\cnativeapi\shared\cnativeapi.vcxproj]
C:\Projects\shots\windows\runner\Runner.rc(55): error RC2135: file not found: resources\app_icon.ico [C:\Projects\shots\build\windows\x64\runner\shots.vcxproj]
Building Windows application... 151,7s
Build process failed.
Exception: C:\Projects\shots\scripts\windows_release.ps1:14:28
Line |
14 | if ($LASTEXITCODE -ne 0) { throw "flutter build windows failed" }
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| flutter build windows failed
PS C:\Projects\shots>
PS C:\Projects\shots>