mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
Merge remote-tracking branch 'origin/docs' into ubuntu-24.04
This commit is contained in:
commit
9279295484
1 changed files with 7 additions and 7 deletions
|
@ -13,12 +13,12 @@ Here you will find instructions on how to install the necessary tools for buildi
|
||||||
The following instructions are for building and running on a Linux host. Alternatively, see the [Mac](#mac-host) and/or [Windows](#windows-host) section. This entire section (except for the Android Studio section) needs to be completed in WSL if building on a Windows host.
|
The following instructions are for building and running on a Linux host. Alternatively, see the [Mac](#mac-host) and/or [Windows](#windows-host) section. This entire section (except for the Android Studio section) needs to be completed in WSL if building on a Windows host.
|
||||||
|
|
||||||
### Flutter
|
### Flutter
|
||||||
Install Flutter 3.22.1 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.22.1` tag, and add its `flutter/bin` folder to your PATH as in
|
Install Flutter 3.24.2 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.24.2` tag, and add its `flutter/bin` folder to your PATH as in
|
||||||
```sh
|
```sh
|
||||||
FLUTTER_DIR="$HOME/development/flutter"
|
FLUTTER_DIR="$HOME/development/flutter"
|
||||||
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
|
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
|
||||||
cd "$FLUTTER_DIR"
|
cd "$FLUTTER_DIR"
|
||||||
git checkout 3.22.1
|
git checkout 3.24.2
|
||||||
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
|
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
|
||||||
source "$HOME/.profile"
|
source "$HOME/.profile"
|
||||||
flutter precache
|
flutter precache
|
||||||
|
@ -231,7 +231,7 @@ Download and install [Rust](https://www.rust-lang.org/tools/install). [Rustup](
|
||||||
```
|
```
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
rustup install 1.67.1 1.72.0 1.73.0
|
rustup install 1.67.1 1.71.0 1.72.0 1.73.0
|
||||||
rustup default 1.67.1
|
rustup default 1.67.1
|
||||||
cargo install cargo-ndk --version 2.12.7 --locked
|
cargo install cargo-ndk --version 2.12.7 --locked
|
||||||
cargo install cbindgen cargo-lipo
|
cargo install cbindgen cargo-lipo
|
||||||
|
@ -241,7 +241,7 @@ rustup target add aarch64-apple-ios aarch64-apple-darwin
|
||||||
Optionally download [Android Studio](https://developer.android.com/studio) as an IDE and activate its Dart and Flutter plugins. VS Code may work as an alternative, but this is not recommended.
|
Optionally download [Android Studio](https://developer.android.com/studio) as an IDE and activate its Dart and Flutter plugins. VS Code may work as an alternative, but this is not recommended.
|
||||||
|
|
||||||
### Flutter
|
### Flutter
|
||||||
Install [Flutter](https://docs.flutter.dev/get-started/install) 3.22.1 on your Mac host by following [these instructions](https://docs.flutter.dev/get-started/install/macos). Run `flutter doctor` in a terminal to confirm its installation.
|
Install [Flutter](https://docs.flutter.dev/get-started/install) 3.24.2 on your Mac host by following [these instructions](https://docs.flutter.dev/get-started/install/macos). Run `flutter doctor` in a terminal to confirm its installation.
|
||||||
|
|
||||||
### Build plugins and configure
|
### Build plugins and configure
|
||||||
#### Building plugins for iOS
|
#### Building plugins for iOS
|
||||||
|
@ -311,13 +311,13 @@ If the DLLs were built on the WSL filesystem instead of on Windows, copy the res
|
||||||
Frostdart will be built by the Windows host later.
|
Frostdart will be built by the Windows host later.
|
||||||
|
|
||||||
### Install Flutter on Windows host
|
### Install Flutter on Windows host
|
||||||
Install Flutter 3.22.1 on your Windows host (not in WSL2) by [following their guide](https://docs.flutter.dev/get-started/install/windows/desktop?tab=download#install-the-flutter-sdk) or by cloning https://github.com/flutter/flutter, checking out the `3.22.1` tag, and adding its `flutter/bin` folder to your PATH as in
|
Install Flutter 3.24.2 on your Windows host (not in WSL2) by [following their guide](https://docs.flutter.dev/get-started/install/windows/desktop?tab=download#install-the-flutter-sdk) or by cloning https://github.com/flutter/flutter, checking out the `3.24.2` tag, and adding its `flutter/bin` folder to your PATH as in
|
||||||
```bat
|
```bat
|
||||||
@echo off
|
@echo off
|
||||||
set "FLUTTER_DIR=%USERPROFILE%\development\flutter"
|
set "FLUTTER_DIR=%USERPROFILE%\development\flutter"
|
||||||
git clone https://github.com/flutter/flutter.git "%FLUTTER_DIR%"
|
git clone https://github.com/flutter/flutter.git "%FLUTTER_DIR%"
|
||||||
cd /d "%FLUTTER_DIR%"
|
cd /d "%FLUTTER_DIR%"
|
||||||
git checkout 3.22.1
|
git checkout 3.24.2
|
||||||
setx PATH "%PATH%;%FLUTTER_DIR%\bin"
|
setx PATH "%PATH%;%FLUTTER_DIR%\bin"
|
||||||
echo Flutter setup completed. Please restart your command prompt.
|
echo Flutter setup completed. Please restart your command prompt.
|
||||||
```
|
```
|
||||||
|
@ -327,7 +327,7 @@ Run `flutter doctor` in PowerShell to confirm its installation.
|
||||||
### Rust
|
### Rust
|
||||||
Install [Rust](https://www.rust-lang.org/tools/install) on the Windows host (not in WSL2). Download the installer from [rustup.rs](https://rustup.rs), make sure it works on the commandline (you may need to open a new terminal), and install the following versions:
|
Install [Rust](https://www.rust-lang.org/tools/install) on the Windows host (not in WSL2). Download the installer from [rustup.rs](https://rustup.rs), make sure it works on the commandline (you may need to open a new terminal), and install the following versions:
|
||||||
```
|
```
|
||||||
rustup install 1.67.1 1.72.0 1.73.0
|
rustup install 1.67.1 1.71.0 1.72.0 1.73.0
|
||||||
rustup default 1.67.1
|
rustup default 1.67.1
|
||||||
cargo install cargo-ndk --version 2.12.7 --locked
|
cargo install cargo-ndk --version 2.12.7 --locked
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue