feat: Make devtools a feature

Users can now enable DevTools easily,
without worrying about forgetting 'uncomment' that function.
This commit is contained in:
pan93412
2022-11-08 15:32:36 +08:00
parent ec782240f6
commit a3180fbd4d
2 changed files with 9 additions and 4 deletions

View File

@@ -28,3 +28,5 @@ default = [ "custom-protocol" ]
# this feature is used used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
# Enable DevTools for debugging.
devtools = []