Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #4

Merged
merged 5 commits into from
May 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ add_executable(${PROJECT_NAME}
"src/MainFrame.cpp"
"src/Exec.h"
"src/Exec.cpp"
"src/Component.cpp"
"src/Component.h"
"src/Component.cpp"
"src/JsonUtils.h"
"src/JsonUtils.cpp"
)

#link libraries
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![build](https://github.com/matyalatte/Simple-Command-Runner/actions/workflows/build_windows.yml/badge.svg)
![build](https://github.com/matyalatte/Simple-Command-Runner/actions/workflows/build_ubuntu.yml/badge.svg)
![build](https://github.com/matyalatte/Simple-Command-Runner/actions/workflows/build_mac.yml/badge.svg)
# Simple-Command-Runner ver 0.1.0
# Simple-Command-Runner ver 0.1.1
Simple GUI builder to execute commands.<br>

## About
Expand Down
1 change: 1 addition & 0 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ cmake -G "%VS_VERSION%"^
../

REM build with VS

"%MSBUILD%" SimpleCommandRunner.vcxproj /t:build /p:configuration=Release /p:platform=x64 -maxcpucount

pause
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
ver0.1.1
- Added textbox to GUI components
- Changed json format
- Fixed an error when reading utf-16 strings from stdout
- Fixed a bug can't read configs for checkboxes

ver0.1.0
- Added support for mac and linux (ubuntu)
- Added console window for linux
Expand Down
11 changes: 5 additions & 6 deletions samples/advanced/gui_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"button": "Echo!",
"components": [
{
"type": "text",
"type": "static_text",
"label": "This is a sample GUI. Edit 'gui_definition.json' for your scripts."
},
{
Expand Down Expand Up @@ -37,12 +37,12 @@
{
"label": "Sample GUI2",
"window_name": "Simple Command Runner",
"command": "echo \"num: %hoo%\" & echo \"file: %bar%\" & echo \"Sample message!\"",
"command": "echo \"num: %hoo%\" & echo \"text: %bar%\" & echo \"Sample message!\"",
"button": "Echo!",
"show_last_line": true,
"components": [
{
"type": "text",
"type": "static_text",
"label": "This is a sample GUI. Edit 'gui_definition.json' for your scripts."
},
{
Expand All @@ -53,9 +53,8 @@
"default": 1
},
{
"type": "file",
"label": "Some file path",
"extension": "any files | *"
"type": "text_box",
"label": "Some text"
}
]
}
Expand Down
Loading