Skip to content

Commit 9add4d1

Browse files
committed
improved build instructions for linux
1 parent 60149e4 commit 9add4d1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/.vuepress/theme/global-components/DownloadPage.vue

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@
4848

4949
<v-card-text>
5050
<h4> {{ instructions }}</h4>
51+
<h4 v-if="additionalCommand.length>0">You might also need to install the following list of development dependencies:</h4>
52+
<CpCode v-if="additionalCommand.length>0" :command="additionalCommand"> </CpCode>
5153
<h4> You may need to install Rust toolchain to be able to build projects.</h4>
52-
<a href = "https://rustup.rs/">Download Rust Toolchain.</a>
54+
<a href = "https://rustup.rs/">Download Rust Toolchain.</a>
5355
</v-card-text>
5456
</v-card>
5557
</v-col>
@@ -129,6 +131,7 @@ export default {
129131
var windows = "https://fyrox.rs/assets/releases/0.36/fyrox-project-manager-win-x86_64.zip";
130132
var mac = "https://fyrox.rs/assets/releases/0.36/fyrox-project-manager-macos-x86_64.zip";
131133
var linux = "https://fyrox.rs/assets/releases/0.36/fyrox-project-manager-linux-x86_64.zip";
134+
var additionalCommand = "";
132135
133136
if (navigator.userAgent.includes("win") != -1) {
134137
name = "Windows";
@@ -146,7 +149,8 @@ export default {
146149
name = "Linux";
147150
preBuilt = true;
148151
link = linux;
149-
instructions = "Extract and run. Fyrox is self-contained engine and does not require installation."
152+
instructions = "Extract and run. Fyrox is self-contained engine and does not require installation.";
153+
additionalCommand = "sudo apt install libxcb-shape0-dev libxcb-xfixes0-dev libxcb1-dev libxkbcommon-dev libasound2-dev libegl-mesa0 build-essential";
150154
icon = "mdi-linux";
151155
} else if (navigator.userAgent.includes("Android") != -1) {
152156
name = "Android OS";
@@ -163,7 +167,8 @@ export default {
163167
mac,
164168
linux,
165169
icon,
166-
version
170+
version,
171+
additionalCommand
167172
};
168173
},
169174
}

0 commit comments

Comments
 (0)