Skip to content

Commit c3d550a

Browse files
Update CONTRIBUTING.md (#5268)
note about activating .zprofile variables.
1 parent f4b83ae commit c3d550a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,24 +112,26 @@ It should work now.
112112

113113
Add the `FLET_VIEW_PATH` and `FLET_WEB_PATH` variables to the environment variables or profile scripts for your respective OS, making sure to modify the path accordingly:
114114

115-
- On macOS (in `~/.zprofile` or any other profile script):
115+
- On macOS (in `~/.zprofile` or any other profile script)*:
116116
```
117117
# Flet
118118
export FLET_VIEW_PATH="$HOME/{path-to-flet}/flet/client/build/macos/Build/Products/Release"
119119
export FLET_WEB_PATH="$HOME/{path-to-flet}/flet/client/build/web"
120120
```
121121

122+
122123
- On Windows (open "System Properties" > "Environment Variables", then add a new environment variable):
123124
- as "Variable name", enter `FLET_VIEW_PATH`, and as "Value", `{path-to-flet}\flet\client\build\windows\x64\runner\Release`
124125
- as "Variable name", enter `FLET_WEB_PATH`, and as "Value", `{path-to-flet}\flet\client\build\web`
125126

126-
- On Linux (in `~/.bash_profile` or any other profile script):
127+
- On Linux (in `~/.bash_profile` or any other profile script)*:
127128
```
128129
# Flet
129130
export FLET_VIEW_PATH="$HOME/{path-to-flet}/flet/client/build/linux/{arch}/release/bundle"
130131
export FLET_WEB_PATH="$HOME/{path-to-flet}/flet/client/build/web"
131132
```
132133

134+
133135
If you have Microsoft Edge installed and want to use it for debugging Flutter apps:
134136

135137
```
@@ -139,6 +141,8 @@ export CHROME_EXECUTABLE="/Applications/Microsoft Edge.app/Contents/MacOS/Micros
139141

140142
If you added these through the terminal, close that terminal session and create a new one.
141143

144+
\* <small>if continuing in the same shell run `source ~/.zprofile` to activate variables in current session</small>
145+
142146
### Building the Flutter client
143147
Open an instance of your IDE (preferably VS Code) at the `flet-dev/flet/client` directory.
144148

@@ -279,4 +283,4 @@ Set PATH:
279283
echo 'export PATH=$HOME/fvm/default/bin:$PATH' >> ~/.zprofile
280284
```
281285
282-
* **cocoapods**: https://guides.cocoapods.org/using/getting-started.html#installation
286+
* **cocoapods**: https://guides.cocoapods.org/using/getting-started.html#installation

0 commit comments

Comments
 (0)