From daed4141f53beab939067edc9a00fa04082bed5a Mon Sep 17 00:00:00 2001 From: Marcus Crane Date: Tue, 19 Dec 2023 21:29:46 +1300 Subject: [PATCH] (v3/linux): Add Taskfile template entry for `run:linux` (#3146) * Add Taskfile entry for run:linux, used by task dev Signed-off-by: Marcus Crane * Add updated CHANGELOG entry Signed-off-by: Marcus Crane * Correct CHANGELOG entry --------- Signed-off-by: Marcus Crane --- mkdocs-website/docs/en/changelog.md | 1 + v3/internal/templates/_common/Taskfile.tmpl.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/mkdocs-website/docs/en/changelog.md b/mkdocs-website/docs/en/changelog.md index a01b4ba2f..f093f7558 100644 --- a/mkdocs-website/docs/en/changelog.md +++ b/mkdocs-website/docs/en/changelog.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [darwin] add Event ApplicationShouldHandleReopen to be able to handle dock icon click by @5aaee9 in [#2991](https://github.com/wailsapp/wails/pull/2991) - [darwin] add getPrimaryScreen/getScreens to impl by @tmclane in [#2618](https://github.com/wailsapp/wails/pull/2618) - [linux] add onKeyPress logic to convert linux keypress into an accelerator @[Atterpac](https://github.com/Atterpac) in[#3022](https://github.com/wailsapp/wails/pull/3022]) +- [linux] add task `run:linux` by [@marcus-crane](https://github.com/marcus-crane) in [#3146](https://github.com/wailsapp/wails/pull/3146) ### Fixed diff --git a/v3/internal/templates/_common/Taskfile.tmpl.yml b/v3/internal/templates/_common/Taskfile.tmpl.yml index 97be607b5..1310e157b 100644 --- a/v3/internal/templates/_common/Taskfile.tmpl.yml +++ b/v3/internal/templates/_common/Taskfile.tmpl.yml @@ -401,6 +401,10 @@ tasks: cmds: - {{ "'{{.BIN_DIR}}\\\\{{.APP_NAME}}.exe'" }} + run:linux: + cmds: + - {{ "'{{.BIN_DIR}}/{{.APP_NAME}}'" }} + dev:frontend: summary: Runs the frontend in development mode dir: frontend