{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "Generate Localization",
			"type": "dart",
			"command": "flutter",
			"args": [
				"gen-l10n"
			],
			"isBackground": true,
			"presentation": {
				"reveal": "never",
				"revealProblems": "onProblem",
				"panel": "dedicated",
				"showReuseMessage": false,
				"clear": true,
				"focus": false
			},
			"problemMatcher": []
		},
		{
			"type": "flutter",
			"command": "flutter",
			"args": [
				"build",
				"windows"
			],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"problemMatcher": [],
			"label": "flutter: flutter build windows",
			"detail": ""
		},
		{
			"type": "flutter",
			"command": "flutter",
			"args": [
				"build",
				"macos"
			],
			"group": "build",
			"problemMatcher": [],
			"label": "flutter: flutter build macos",
			"detail": ""
		},
		{
			"type": "flutter",
			"command": "flutter",
			"args": [
				"build",
				"apk"
			],
			"group": "build",
			"problemMatcher": [],
			"label": "flutter: flutter build apk",
			"detail": ""
		},
		{
			"type": "flutter",
			"command": "flutter",
			"args": [
				"build",
				"aab"
			],
			"group": "build",
			"problemMatcher": [],
			"label": "flutter: flutter build aab",
			"detail": ""
		},
		{
			"type": "dart",
			"command": "dart",
			"args": [
				"run",
				"icons_launcher:create",
				"--flavors",
				"development,production"
			],
			"label": "dart: generate icons_launcher",
			"detail": "",
			"options": {
				"cwd": "${workspaceFolder}"
			}
		},
		{
			"type": "flutter",
			"command": "dart",
			"args": [
				"run",
				"build_runner",
				"watch"
			],
			"problemMatcher": [
				"$dart-build_runner"
			],
			"group": "build",
			"label": "dart: dart pub run build_runner watch",
			"detail": "",
			// "runOptions": {
			// 	"runOn": "folderOpen"
			// }
		},
		{
			"label": "Build AppImage",
			"type": "shell",
			"command": "/usr/local/bin/appimage-builder",
			"args": [
				"--recipe",
				"AppImageBuilder.yml"
			],
			"group": {
				"kind": "build",
			}
		},
		{
			"label": "Generate Pigeon Files",
			"type": "shell",
			"command": "powershell",
			"args": [
				"-Command",
				"Get-ChildItem -Path pigeons/*.dart | ForEach-Object { dart run pigeon --input $_.FullName }"
			],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"problemMatcher": [],
			"options": {
				"cwd": "${workspaceFolder}"
			}
		}
	],
}