commandline_or_gui_windows 2.3.0
commandline_or_gui_windows: ^2.3.0 copied to clipboard
Allows your app to run as either commandline or gui. Windows only.
CHANGELOG #
2.3.0 #
- update
main.cpp,win32_window.handwin32_window.cppto support changes in flutter 3.8- No changes to dart code, only Cpp code
- when update must rerun create command in README
- updated example to flutter 3.8
- switched to using tags for versions
2.2.0 #
- loads GUI only for non-windows platforms
- added strut for web compiling
- switched from branching to tagging for versioning
- updated example android files
- changed from plugin to package
- because it will compile on any platform
- command line is only available on windows
2.1.2 #
- fixed win_32 error
[ERROR:flutter/shell/platform/windows/direct_manipulation.cc(137)] CoCreateInstance(CLSID_DirectManipulationManager, nullptr, CLSCTX_INPROC_SERVER, IID_IDirectManipulationManager, &manager_) failed flutter: [test1, test2]
- Changed
WS_MINIMIZEtoWS_OVERLAPPEDWINDOW | WS_VISIBLE - locked focus to console when using commandline mode
- when gui opens in commandline mode 1 pixel width in top left corner
- ref Development Cycle: Using args with "flutter run" #1
- requires rerun
flutter pub run commandline_or_gui_windows:createon update
2.1.1 #
- added documentation for running commandline mode using flutter run
2.0.1 #
- remove
<T>fromrunAppCommandlineOrGUI- not used anywhere
- was part of an unimplemented feature
- increased documentation
- Increased documentation
- fixed minor errors in
README.md - added restore command in bin
- minor bug fixes
- tracking more files updated, and
.gitignore
2.0.0 #
- determined that dart
stdioandstderrcan be easily accessed throughdart.io - made a commandline tool, because the functionality is more about
editing
windows/runnerfiles- Added
bin\\create.dartbuilder.dart
- Added
- removed:
syncStdOutAndStdErrWithConsolestdout- use
dart.iostdout.writeln
- use
stderr- use
dart.iostderr.writeln
- use
hideWindowcommandlineExit
runAppCommandlineOrGUI- removed:
placeHolderAfterLoadedRunningafterLoadedcommandline
- added:
commandlineRunargs
- removed:
- updated documentation
1.2.1 #
- updated the license to MIT to allow better freedom of use of the code
1.2.0 #
- added a commandline exit function
- only closes if
closeOnCompleteCommandlineOptionOnlyistrue - this way you can keep an app open when debugging
- only closes if
- added CommandlineOrGuiWindows: to all error messages
- to help identify where the error came from
- added ability to set exit code when app exits commandline mode
- removed unused code from example
- depricated
syncStdOutAndStdErrWithConsole- it should not have been added, oops :(
- updated readme
1.1.1 #
- fixed example main.cpp
- args in main were being converted to utf-8
- ASCII strings now used
- made main.dart ignore parsing errors
- bool true/false showing errors in gui
1.1.0 #
- Added stderr output to example
- Added example of how to show stderr to readme
- Wrote required steps to have the app run as a gui or commandline app
- modifications must be made to C++ code for apps that use this package
- Following steps allows output to stdout to be displayed in android studio run terminal
- Increased documentation
1.0.0 #
- Removed from dart and C++ code:
-
terminalAsOut,terminalAsStdout, andterminalAsStderr - Began tracking more C++ code
- Updated documentation
0.1.0 #
- Added the ability to hide the main window
- Change
<br/>to<br>in README.md - Window is now hidden in the example
- documetion coming in 1.0.0
- no longer require allocation of terminal to write to stdout or stderr
- this causes issues
- functions left, but shouldn't be use
- Depricated
terminalAsOut,terminalAsStdout, andterminalAsStderr
0.0.2 #
- updated yaml to include git repo
0.0.1 #
- Basic functions
- stdout and stderr to terminal
- run app in either gui or commandline mode