Loading...
Loading...
Set up a Windows environment for Flutter development
npx skill4agent add flutter/skills flutter-environment-setup-windowsC:\develop\flutterC:\Program Files\binPATH$flutterBinPath = "C:\develop\flutter\bin"
$currentUserPath = [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User)
if ($currentUserPath -notmatch [regex]::Escape($flutterBinPath)) {
[Environment]::SetEnvironmentVariable("Path", "$currentUserPath;$flutterBinPath", [EnvironmentVariableTarget]::User)
}vs_setup.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommendedflutter config --no-enable-android
flutter config --no-enable-web
flutter config --enable-windows-desktopflutter config --no-enable-windows-desktopflutter build windowsbuild\windows\runner\Release\<project_name>.exe.dllflutter_windows.dlldatamsvcp140.dllvcruntime140.dllvcruntime140_1.dll.exeBINARY_NAMEwindows/CMakeLists.txt# Change this to change the on-disk name of your application.
set(BINARY_NAME "CustomAppName").pfxPATHopenssl genrsa -out mykeyname.key 2048
openssl req -new -key mykeyname.key -out mycsrname.csr
openssl x509 -in mycsrname.csr -out mycrtname.crt -req -signkey mykeyname.key -days 10000
openssl pkcs12 -export -out CERTIFICATE.pfx -inkey mykeyname.key -in mycrtname.crtCERTIFICATE.pfxflutter doctor -vcmdline-tools component is missingMicrosoft.VisualStudio.Workload.NativeDesktopflutterPATHC:\Program Files\flutter doctor